Decimal to Fraction Converter
Convert a decimal to a fraction online. Handles terminating and repeating decimals, and returns the exact fraction, simplified form and mixed number.
Working
0.375 = 375/1000 = 3/8
- Converts terminating and repeating decimals
- Exact fractions for repeating decimals using algebra
- Automatically simplified to lowest terms
- Shows mixed number for values above one
- Handles negative decimals
- 100% private β conversion runs in your browser
How to use the Decimal to Fraction Converter
- 1
Type the decimal you want to convert.
- 2
If part of the decimal repeats, tick 'Repeating decimal' and enter how many trailing digits repeat.
- 3
Read the exact fraction, its simplified form and the mixed number.
- 4
Check the decimal-back conversion to confirm the result.
- 5
Click Copy to grab the fraction.
About the Decimal to Fraction Converter
The ByteTools Decimal to Fraction Converter turns any decimal into a fraction. Enter a terminating decimal like 0.375 and it returns 3/8, or mark a repeating block such as 0.1(6) and it returns the exact fraction 1/6. Results come simplified and, where relevant, as a mixed number.
It suits students checking homework, engineers converting measurements and anyone who needs an exact fraction rather than a rounded decimal. Because repeating decimals are handled with proper algebra, the answers are exact β not approximations.
All conversion happens in your browser with JavaScript. Nothing is uploaded, so it is fast, private and works offline. Copy the fraction you need with one click.
Frequently asked questions
How do you convert a decimal to a fraction?
For a terminating decimal, write the digits over a power of ten matching the number of decimal places, then reduce. 0.375 becomes 375/1000, which simplifies to 3/8. The converter does the reduction automatically.
How do you turn a repeating decimal into a fraction?
Use algebra: set x equal to the decimal, multiply by a power of ten to shift the repeating block, then subtract to cancel the repetition. For 0.Μ 3 (0.333β¦) this gives 1/3. Tick the repeating option and the tool applies this method exactly.
What is a mixed number result?
When the decimal is greater than one, the fraction is improper, so the converter also shows a mixed number. For example 2.25 becomes 9/4, which is written as 2 1/4.
Are the results exact or rounded?
Terminating and repeating decimals give exact fractions. If you enter a long non-repeating decimal without marking a repeat, the result is the exact fraction of the digits you typed, which is the closest fraction to what you entered.
Can it handle negative decimals?
Yes. Enter a negative decimal and the sign is carried into the numerator of the resulting fraction, so -0.75 converts to -3/4.
Related tools
- Fraction CalculatorAdd, subtract, multiply and divide two fractions online. Get the result as an improper fraβ¦
- Fraction SimplifierReduce any fraction to its lowest terms online. See the greatest common divisor used, the β¦
- Ratio CalculatorSimplify a ratio to its lowest terms or solve a proportion A:B = C:? to find the missing vβ¦
- Rounding CalculatorRound any number to decimal places, significant figures or the nearest multiple, with rounβ¦
- Percentage CalculatorCalculate what X% of a number is, what percent one number is of another, and percentage inβ¦