Decimal to Fraction Calculator

Every terminating decimal is a fraction with a power of 10 below it. Simplifying that gives the neatest form, such as 0.375 = 375/1000 = 3/8.

Results update as you type.

Fraction

3/8

As a percentage
37.5%

About this calculator

Enter the decimal exactly as written; up to 15 decimal places are converted exactly.

How to use it

  1. Type the decimal.
  2. Read the fraction.

The formula

Decimal = digits ÷ 10ⁿ, then divide top and bottom by their GCD
n
number of decimal places

Worked example

0.375

  1. = 375/1000.
  2. GCD is 125, so 0.375 = 3/8.

What the result means

For repeating decimals like 0.333…, use the fraction you know (1/3); typed digits are treated as exact.

Assumptions

  • Terminating decimals.

Limitations

  • Repeating decimals typed with finite digits are converted as typed.

Frequently asked questions

What is 0.75 as a fraction?

3/4.

What is 0.125 as a fraction?

1/8.

How do I convert a repeating decimal?

For 0.(3) use x = 0.333…, 10x − x = 3, so x = 1/3.

Last reviewed on 3 October 2026. Found a mistake? Tell us.