Fraction to Decimal Calculator

Divide any fraction out to as many decimal places as you need.

Calculate

Type your numbers and press Calculate — the answer appears with the full step-by-step working.

Answer
0.625
5/8 = 0.6250000000

Step-by-step working

  1. Divide the numerator by the denominator: 5 ÷ 8
  2. Carry the division to 10 decimal places: 0.6250000000
  3. The decimal terminates.

Try a worked example — it loads straight into the calculator:

Formula

Decimal = Numerator ÷ Denominator

Worked examples

5/8

  1. Divide the numerator by the denominator: 5 ÷ 8
  2. Carry the division to 10 decimal places: 0.6250000000
  3. The decimal terminates.

Answer: 0.625 — 5/8 = 0.6250000000

1/3 (repeating)

  1. Divide the numerator by the denominator: 1 ÷ 3
  2. Carry the division to 10 decimal places: 0.3333333333
  3. The decimal repeats — the digits shown are rounded at 10 places.

Answer: 0.3333333333 — 1/3 = 0.3333333333

22/7

  1. Divide the numerator by the denominator: 22 ÷ 7
  2. Carry the division to 12 decimal places: 3.142857142857
  3. The decimal repeats — the digits shown are rounded at 12 places.

Answer: 3.142857142857 — 22/7 = 3.142857142857

About this calculator

A fraction is an unfinished division. Carrying it out gives the decimal: some finish neatly (5/8 = 0.625), others repeat forever (1/3 = 0.333…). Whether a fraction terminates depends only on its denominator in lowest terms — if its prime factors are only 2s and 5s, it terminates; anything else repeats. The calculator tells you which kind yours is.

How to use it

  1. Enter numerator and denominator.
  2. Choose how many decimal places to show.
  3. Calculate.

Frequently asked questions

Which fractions give terminating decimals?

After simplifying, if the denominator's only prime factors are 2 and 5, the decimal terminates (8 = 2³, so 5/8 terminates). A factor of 3, 7, 11 and so on means it repeats.

Is 22/7 the same as π?

No — 22/7 ≈ 3.142857 is an approximation of π (3.14159…), close but not equal. It was used for centuries because it is easy to work with.