Home Math Decimal to Fraction Calculator

Decimal to Fraction Calculator

Turn a decimal into a fraction in its simplest form, including a decimal that repeats.

Advertisement

How it works

Enter the decimal, and if it repeats, the digit that repeats, with the part before it as the decimal. The page shows the fraction in simplest form, the whole part, the numerator and denominator and the decimal value.

Advertisement

Formula

Terminating: numerator = the digits, denominator = 10^places, then divide both by their GCD
Repeating: numerator = the digits with the repeat minus the digits before it, denominator = 10^prefix × (10^repeat − 1)

Sources

Example

Decimal: 0.38; Digit that repeats (0 for none): 0. Fraction: ⁦3/8⁩

Frequently asked questions

What is 0.375 as a fraction?

0.375 is 375/1000, and dividing both by 125 gives 3/8. Check: 3 / 8 = 0.375.

What about 0.8333...?

Enter 0.8 with 3 repeating. That is (83 − 8)/90 = 75/90 = 5/6. A rounded 0.333 without the repeat gives 333/1000, not 1/3.

Advertisement

Related calculators

Percentage Calculator

Find a percent of a number, what percent one number is of another, and percent change, all at once.

Fraction Calculator

Add, subtract, multiply and divide fractions, with the answer simplified.

Scientific Calculator

Online scientific calculator with trig, logs, powers, roots, factorial and degree or radian mode.

Quadratic Formula Calculator

Solve ax² + bx + c = 0, with the discriminant and the vertex.