Fraction to Decimal and Decimal to Fraction

Use this tool to convert fraction to decimal and decimal to fraction in one place. Type 3/8 to get 0.375, or type 0.375 to get 3/8 in simplest form. It handles mixed numbers and repeating decimals and shows the steps. The Number Line Maker can also help you plot points and inequalities on a number line.

Fraction ⇄ Decimal Converter

Simplest fractions and repeating decimals.

Everything runs in your browser. Nothing you enter or upload is sent to a server.

How to use the Fraction ⇄ Decimal Converter

  1. Type a decimal like 0.375 or 2.5 in the first box.
  2. Read the simplified fraction, mixed number and percentage.
  3. Or type a fraction like 1/6 or 2 1/4 in the second box.
  4. Read the exact decimal; repeating digits are shown in brackets.

How it works

A decimal with n digits is written over 10^n and simplified by the greatest common divisor: 0.375 = 375/1000 = 3/8. For a fraction, long division is done digit by digit; when a remainder repeats, the digits between repeat forever.

Example

0.375 = 3/8, 2.5 = 5/2 = 2 1/2, and 1/6 = 0.1(6), meaning 0.16666...

Frequently asked questions

How do I convert a repeating decimal to a fraction?

Type it with several repeats, e.g. 0.333333, and the tool finds 1/3.

What is 0.625 as a fraction?

5/8.

Which fractions give terminating decimals?

Those whose simplified denominator has only 2 and 5 as prime factors.

See also: Fraction Calculator, Percentage Calculator.

Switch fractions and decimals

How to use it

  1. Type a fraction or decimal.
  2. Read the converted value.
  3. Check the simplest form.
  4. Review the steps.

More questions

What is 1/3 as a decimal?

1/3 is 0.333... as a decimal, with the 3 repeating forever.

Can it handle mixed numbers?

Yes. Type a mixed number like 2 1/4, and it converts to 2.25.

Can it convert repeating decimals?

Yes. Mark the repeating part, and it turns the decimal into an exact fraction.

Related tools: Percentage Calculator, Significant Figures Calculator, Percentage Change Calculator.