Fraction to Decimal Converter

Convert fractions and mixed numbers to decimals and percentages, or decimals to simplified fractions and nearest 1/16 or 1/64.

For mixed numbers such as 2 3/8; leave 0 otherwise.

Results

Decimal
0.375
Percent
37.50 %
Simplified fraction
3/8
Mixed number
3/8
Decimal type
Terminating

How it’s calculated

A fraction is a division: divide the numerator by the denominator to get the decimal. To go the other way, write the decimal over a power of ten and simplify by the greatest common divisor (GCD).

a/b = a ÷ b 3/8 = 3 ÷ 8 = 0.375 w n/d = (w·d + n)/d 2 3/8 = 19/8 = 2.375 0.3125 = 3125/10000 = 5/16 (divide both by GCD 625)

A fraction in lowest terms gives a terminating decimal only if its denominator has no prime factors other than 2 and 5; otherwise the digits repeat (1/3 = 0.333…). For repeating decimals, type enough digits and the converter finds the simplest fraction that matches, e.g. 0.333333333333 → 1/3.

Frequently asked questions

How do I convert a decimal to an inch fraction?

Multiply by 16 (or 32, 64), round to a whole number and put it over 16, then simplify. 0.3 in × 16 = 4.8 → 5/16 in. Pick the ruler resolution in the "round to nearest" box.

What is 1/3 as a decimal?

0.333… with the 3 repeating forever. It cannot be written exactly as a finite decimal.

Embed this calculator

Add this free calculator to your own website. Copy the code below into your page’s HTML:

Sources

Formulas are taken from the free public references above. Results are provided “as is” for informational and educational purposes only. See our disclaimer.

Spotted a mistake or missing option? Report a problem · GitHub issue· Suggest a calculator