Number Converters · Browser · Free
Decimal to Fraction Converter
Enter a decimal, fraction, or percentage to convert in either direction. Calculations reduce rational numbers to lowest terms with full greatest common divisor steps and visual fraction circle diagrams.
What this tool does
Select conversion units using the From and To dropdowns, supporting Decimal, Fraction, and Percent pairs. The Swap conversion button instantly reverses direction between pairs while preserving entered values.
Enter decimal numbers in standard or scientific notation. Converting to a fraction displays the result across dedicated integer, numerator, and denominator fields in a stacked fraction layout, with the integer part hidden for values under 1.
A circle diagram renders whole filled circles alongside a partitioned fraction slice representing the exact rational quantity.
Reading the result and calculation steps
The calculation box details every reduction step, displaying the initial power of ten, the computed greatest common divisor, and the final reduced fraction or mixed number.
Copy saves the formatted fraction to your clipboard, and Reset clears all inputs and outputs.
Decimal to fraction formula
A decimal is placed over a corresponding power of ten based on its decimal places, then both numerator and denominator are divided by their greatest common divisor.
For numbers greater than or equal to 1, the integer part is separated and combined with the reduced proper fraction.
| Decimal | Fraction |
|---|---|
| 0.5 | 1/2 |
| 0.25 | 1/4 |
| 0.75 | 3/4 |
| 0.2 | 1/5 |
| 0.125 | 1/8 |
| 0.1 | 1/10 |
| 1.5 | 3/2 |
| 2.25 | 9/4 |