From Decimal to Fraction: How the Conversion Really Works
By the Super Simple Digital Tools Team · Updated June 2026 · Calculators
Every decimal is secretly a fraction already. The digits after the point are just tenths, hundredths and thousandths stacked together, so 0.625 literally means six tenths, two hundredths and five thousandths, which is 625 thousandths, or 625/1000. Converting a decimal to a fraction is really the act of making that hidden denominator visible and then tidying it up. Once you see decimals this way, the whole process stops feeling like a trick and becomes a short, reliable recipe you can follow by hand or let the calculator do instantly.
The first step is counting decimal places. If there are three digits after the point, you multiply the number by 1000 (ten to the power of three) to clear the decimal, and that cleared number becomes the numerator while 1000 becomes the denominator. Two places means multiplying by 100, one place means 10, and so on. This is why 0.7 is 7/10, 0.07 is 7/100, and 0.007 is 7/1000. The number of zeros in the denominator always matches the number of digits you started with after the point.
The fraction you get this way is correct but rarely tidy, so the second step is reducing it. You find the greatest common divisor, the largest number that divides both the top and the bottom evenly, and divide each by it. For 625/1000 the greatest common divisor is 125, and dividing both sides by 125 gives 5/8 in one clean move. The calculator computes the GCD automatically, which is why your answer always arrives in lowest terms instead of an unwieldy fraction full of shared factors.
Repeating decimals need a different approach because they never terminate, so no fixed power of ten will clear them. The classic method sets the decimal equal to a variable, multiplies by ten enough times to shift one full repeat, then subtracts the original to cancel the endless tail. For 0.777..., multiplying by ten gives 7.777..., and subtracting the original leaves 9 times the value equal to 7, so the answer is 7/9. This is why the shortcut for a single repeating digit is simply that digit over 9, two repeating digits over 99, and so on.
Knowing the method helps you judge the answer rather than trust it blindly. If you feed in a rounded decimal from a screen, you will get the fraction of that rounded value, not the original measurement, so the quality of your input sets the quality of your result. When precision matters, keep as many decimal places as you can, decide honestly whether the value repeats, and pick a sensible rounding level for physical work such as the nearest sixty-fourth of an inch. Do that, and the conversion is exact and dependable every time.
Quick tips
- Count the digits after the decimal point first: that count is exactly how many zeros the starting denominator needs (two digits means /100).
- If a value truly repeats, mark it as repeating so 0.166... becomes 1/6 instead of the near-miss 166/1000.
- For tape-measure work, round the decimal to the nearest 1/16, 1/32 or 1/64 inch depending on how fine your project needs to be.
- Sanity-check the output by dividing the fraction back out: 5/8 should equal 0.625, confirming the conversion is exact.
The Decimal to Fraction Calculator is free to use as often as you like — no signup required.