esc
Calculators

Decimal to fraction calculator:
exact or closest fraction

Type a decimal such as 0.375 or a repeating one such as 0.1(6). You get the fraction in lowest terms, the mixed number and the steps, or the nearest fraction with a bottom number you cap.

For repeating digits use brackets: 0.(3) is 0.333…, 0.1(6) is 0.1666…
Leave empty for the exact fraction, or type e.g. 100 for the closest simple fraction.
As a fraction3/8
Improper fraction
3/8
Mixed number
3/8
Percent
37.5%
Working
StepWorking
Write over a power of ten0.375 = 375/1000
Greatest common factorGCF(375, 1000) = 125
Divide top and bottom375 ÷ 125 / 1000 ÷ 125 = 3/8

How to use Decimal to fraction calculator

  1. 01Type the decimalBrackets for repeating digits.
  2. 02Optionally cap the bottome.g. 100.
  3. 03Read the fractionWith each step.
File character arranging marked pages

Over a power of ten, then reduce.

A decimal with three places is that number over 1000: 0.375 = 375/1000. Dividing top and bottom by their greatest common factor, 125, gives 3/8. For a repeating decimal the bottom is made of nines, one for each repeating digit, so 0.(3) = 3/9 = 1/3. With a largest bottom number set, continued fractions find the closest fraction under that limit.

At a glance

Price
Free. No sign-up, no watermark.
Privacy
Your text stays in your browser. Nothing is uploaded.
Works in
Chrome, Edge, Firefox and Safari, on phones and computers

Questions

What is 0.375 as a fraction?

0.375 = 375/1000. The greatest common factor of 375 and 1000 is 125, so it simplifies to 3/8.

How do I convert 0.1666… to a fraction?

Type 0.1(6). The rule gives (16 − 1)/90 = 15/90 = 1/6.

Can it find a simple fraction close to a long decimal?

Yes. Type the decimal and a largest bottom number. 3.14159 with a limit of 1000 gives 355/113 (3 16/113), which matches π to six decimal places.

Is what I type sent anywhere?

No. The calculation runs in your browser and nothing you type leaves your device.