Gradient

Courses

∇\nabla∇The maths behind AI0/72
π\piπMaths0/84
⋆\star⋆AI for everyone0/10
Γ\GammaΓGame theory0/49
py\texttt{py}pyPython for AI0/15
y^\hat{y}y^​Build your own AI0/15
All courses

Tuition

My tuition

Practice

ProjectsAsk a questionTrain on a GPUExplorationsMaths StoriesUnsolved problemsPlaygroundScience labs

Reference

GlossaryBlogDiscoveries
Tools › Maths

Decimal to fraction calculator

Turn a decimal, including a repeating one, into a fraction in lowest terms.

3/8

  1. 0.375 = 375/1000
  2. Divide top and bottom by the HCF 125: 3/8

How it works

A terminating decimal goes over a power of 10: 0.375 = 375/1000 = 3/8. A repeating decimal uses the trick x = 0.4545…, 100x = 45.4545…, so 99x = 45 and x = 5/11.

Worked example

With Decimal = 0.375:

  1. 0.375 = 375/1000
  2. Divide top and bottom by the HCF 125: 3/8

Answer: 3/8

Questions

Is 0.999… equal to 1?
Yes. x = 0.999…, 10x = 9.999…, so 9x = 9 and x = 1.
Which fractions give terminating decimals?
Those whose denominator, in lowest terms, has no prime factors other than 2 and 5.

Learn the method properly

The chapter behind this tool, with animations, an experiment and an AI tutor who checks each step you write.

Open the chapter

More maths tools

  • Quadratic equation solver
  • LCM and HCF calculator
  • Fraction simplifier
  • Percentage calculator
  • Simple interest calculator
  • Compound interest calculator