About the Decimal to Fraction Converter
This converter has three jobs. It turns a decimal such as 0.75 into a reduced fraction, it turns a fraction such as 5/6 into a decimal with the repeating digits marked in brackets, and it rounds a decimal such as 0.3 inches to the nearest measuring fraction on a tape measure. Everything is calculated with exact whole-number maths, so long decimals are never rounded behind your back. Repeating decimals must be typed with brackets, for example 0.(3) or 0.1(6). A plain 0.333333 is treated as exactly 333333 over 1,000,000. The nearest-measure mode rounds to the denominator you pick, so its answer is an approximation and the difference is shown.
Updated September 2026
How to use the Decimal to Fraction Converter
- 1Choose Decimal → fraction, Fraction → decimal or Nearest measure.
- 2Type your number. Use brackets around any repeating digits, like 0.(3).
- 3In Nearest measure, pick 2, 4, 8, 16, 32 or 64 as the denominator.
- 4Read the simplified fraction, mixed number, percentage or decimal.
- 5Press Copy to keep the main answer.
Decimals to fractions step by step
Every terminating decimal is a fraction with a power of ten underneath. Count the digits after the point, put the digits over 1 followed by that many zeros, and simplify. For 2.375 the digits are 2375 and there are three places, so the start is 2375/1000. Both numbers divide by 125, leaving 19/8, or 2 3/8 as a mixed number.
The converter does the same steps with exact integers, so a long decimal like 0.123456789 stays precise. Negative numbers keep their sign on the top of the fraction.
Repeating decimals
Some decimals never end because a group of digits repeats. Writing them by hand needs a bar over the digits; here you use brackets instead. In 0.1(6) the 6 repeats, so the value is 0.1666… and the fraction is 1/6. In 0.(142857) the six digits repeat and the fraction is 1/7.
Going the other way, Fraction → decimal follows the remainders of long division. When a remainder appears a second time, the digits between the two visits are the cycle, and they are placed in brackets.
Typing 0.333333 is not the same as 0.(3). The first is exactly 333333/1000000 and the second is exactly 1/3. Add the brackets when you mean the repeat.
Tape-measure fractions
Rulers and drill bits use fractions of an inch with denominators that are powers of two. Pick the finest mark on your tool and the converter rounds to it. For 0.3 inches at 1/16 it gives 5/16, which is 0.3125, so the difference is +0.0125.
- 1/8: woodworking rough cuts and pipe sizes
- 1/16: most household tape measures
- 1/32 and 1/64: machining, metalwork and drill charts
Fractions, decimals and percents together
A fraction, a decimal and a percent are three spellings of one amount. 3/8 is 0.375 and 37.5%. To add or multiply the fractions themselves, use the Fraction Calculator. For working out a percentage of a price, the Percentage Calculator is quicker, and the Unit Converter handles inches, millimetres and other length units once you have the decimal.
Whenever a number has to be shared as text, the Copy button copies just the fraction or decimal, without labels.
Features
- Exact results, no floating-point rounding
- Repeating decimals written as 0.(3) or 0.1(6)
- Simplified fraction, mixed number and percentage
- Fraction to decimal with the repeating cycle marked
- Nearest 1/2 to 1/64 for tape measures and drill sizes
- Accepts scientific notation such as 1e-3
- Runs in your browser
Frequently asked questions
How do I convert a decimal to a fraction?
Write the digits after the point over a power of ten: 0.75 is 75/100. Then divide the top and bottom by their greatest common divisor to get 3/4. This page shows the unsimplified step, the reduced fraction and the mixed number when the value is above 1.
How do I convert a repeating decimal to a fraction?
Type the repeating digits inside brackets, like 0.(3) or 0.1(6). The tool subtracts the non-repeating form from the repeating form, which cancels the endless tail, and gives 1/3 and 1/6. A typed 0.333333 with no brackets is treated as a finite decimal.
What is 0.625 as a fraction?
0.625 is 625/1000, which reduces to 5/8. You can check it by switching to Fraction → decimal and typing 5/8: the result ends after three digits at 0.625.
How do I turn decimal inches into a tape-measure fraction?
Use Nearest measure, type the decimal, and choose the smallest mark on your tape: 16 for most household tapes, 32 or 64 for fine work. You get the closest fraction such as 5/16 and how far off it is, for example −0.0019 inches.
How do I convert a fraction to a percent?
Divide the top by the bottom and multiply by 100. Three eighths is 0.375, so 37.5%. Both conversions show a percentage line, rounded to at most six decimal places.
Why does 1/3 never end as a decimal?
A fraction ends only when its denominator, once reduced, has no prime factors except 2 and 5. Three is neither, so long division by 3 keeps returning the same remainder and the digit 3 repeats forever. The tool spots the repeat and writes 0.(3).
Is 0.9 repeating equal to 1?
Yes. Typing 0.(9) gives 1, and 2.(9) gives 3. The two are the same number written two ways.
Is there a limit on the length?
You can type up to 30 digits. Fractions with long repeating cycles are worked out digit by digit, and the calculation stops with an ellipsis after 10,000 digits.