Math

Decimal to Fraction Calculator

Turn a decimal into a simplified fraction or mixed number, or find the closest simple fraction with a denominator you choose.

Rules last checked 25 October 2026Every step shown

Your numbers are saved in this browser.

Fraction

3/8

0.375 = 3/8.

How it's worked out

  1. Write over a power of ten0.375375/1000
  2. Simplifydivide top and bottom by 1253/8

How it works

An exact decimal is written over 10, 100, 1,000 and so on, then divided top and bottom by their highest common factor. The closest simple fraction comes from continued fractions.

Worked example

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

Questions people ask

How do I convert a decimal to a fraction?

Write it over a power of ten and simplify. 0.375 = 375/1000 = 3/8.

How do I write 2.75 as a mixed number?

2.75 = 275/100 = 11/4 = 2 3/4.

What fraction is closest to π?

355/113, which is correct to six decimal places. 22/7 is the closest with a denominator up to 7.

About this calculator

Formula and rules last checked 25 October 2026Written and tested by the CalculatorDex teamReport a problem