Fraction to Decimal and Decimal to Fraction converter

This online calculator determines the decimal value for the entered fraction and fraction value for the entered decimal

This page exists due to the efforts of the following people:



Created: 2019-07-02 06:28:39, Last updated: 2021-03-20 16:17:45

You can use the calculators below to convert the fraction to the decimal and vice versa.

Fraction to Decimal

Converting the fraction to the decimal is easy. You should enter the numerator and denominator of a fraction; then, the calculator divides one by another and formats according to the desired precision.

PLANETCALC, Fraction to Decimal

Fraction to Decimal

Digits after the decimal point: 3

Decimal to Fraction

Converting the decimal to the fraction is trickier (if you want to get a nice-looking result). Let's look at the example value of 0.375.

First, the calculator gets the numerator and denominator of a decimal fraction, that is, 0.375 and 1. Both are multiplied by the necessary power of 10 to get rid of the decimal point, i.e., to get integers, that is, 375 and 1000. Then the calculator looks for the greatest common divisor (GCD) of these two integers. Both integers are then divided by it to get smaller values. Let's do it with our example

The GCD of 375 and 1000 is 125. 375 divided by 125 equals 3, 1000 divided by 125 equals 8. The resulting fraction is 3/8.

PLANETCALC, Decimal to Fraction

Decimal to Fraction


URL copied to clipboard
PLANETCALC, Fraction to Decimal and Decimal to Fraction converter