Decimal to Fraction Calculator
Converting a decimal to a fraction is a common task in maths classes, cooking, woodworking, and any field that uses fractional measurements, and this calculator does it instantly and shows the result in its fully reduced simplest form. The method is straightforward: a decimal such as 0.75 is read as 75 hundredths, written as 75 over 100, and then both the numerator and denominator are divided by their greatest common divisor to reduce the fraction to 3 over 4. The number of decimal places determines the starting denominator, so one decimal place uses 10, two places use 100, three places use 1,000, and so on. You enter any decimal, including negative values and numbers greater than one, and the calculator returns the simplified fraction in lowest terms, the improper fraction showing the full value over a single denominator, and the mixed number form separating the whole and fractional parts when the input is greater than one. For example, 2.75 produces the improper fraction 11 over 4 and the mixed number 2 and 3 over 4. The calculator works best with terminating decimals, those that stop after a fixed number of digits. If you enter a recurring decimal such as 0.3333, the result is an approximation based on the digits you typed rather than the exact repeating fraction. This tool suits students working through fraction exercises, anyone converting recipe measurements, or tradespeople who need to express a decimal dimension as a fractional one. Enter your decimal to see the result update immediately.
Best for terminating decimals. Recurring decimals are approximated to the digits you enter.
How it works
The calculator counts the decimal places in your input and uses that to set the denominator as the matching power of ten. The digits (ignoring the decimal point) become the numerator. It then finds the greatest common divisor of the numerator and denominator using the Euclidean algorithm and divides both by it, producing the fraction in lowest terms. For numbers greater than one, the whole part is separated and the remaining numerator and denominator are kept for the mixed number form, while the improper fraction keeps everything over a single denominator.
Worked example
Enter 0.75. There are two decimal places, so the starting fraction is 75 over 100. The greatest common divisor of 75 and 100 is 25. Dividing both by 25 gives the reduced fraction 3/4. Since the value is less than one, the mixed number and improper fraction are both 3/4. If you enter 1.75, the improper fraction is 7/4 and the mixed number is 1 and 3/4.
Related calculators
- Fraction to Decimal Calculator: convert a fraction to its decimal and percentage equivalent.
- Significant Figures Calculator: round a number to the correct number of significant figures.
- Rounding Calculator: round to decimal places or the nearest multiple.
- Percentage Calculator: calculate percentages of any amount.