Decimal to Fraction Calculator

Use this calculator to easily convert a decimal to a fraction.

Share calculator:

Embed this tool!
get code     

How to convert decimal numbers to fractions?

Calculating a fraction from a decimal is a straightforward process. Simply take the number and multiply it by 10 to the power of as many times as needed to leave no significant figures behind the decimal point (N). Then write that number down as the fractions's numerator. As the denominator write down 10 to the power of N, where N is the number of significant digits after the decimal point. Hence the end result is the original number multipled by 10N over 10N. This fraction can then be simplified, expressed as a mixed fraction, and so on as explained in the examples below.

Practical Examples

If the decimal value is 0.2, the corresponding fraction can be calculated by using this algorithm. First, express it as a fraction with base 10 times the number of significant figures to the right of the decimal point (or comma). In this case the number is 1, so it is simply 2 divided by 10, or 2/10 as a fraction. This is already a good solution, but if a simplified fraction is needed, the greatest common divisor needs to be identified and then both sides need to be divided by it. In this case this is 2, so the simpified fraction is 1/5.

If the decimal value is greater than one or smaller than minus one, the fraction may need to be further processed to arrive at a mixed fraction with a whole and a fraction part. If the decimal is 1.2, the resulting fraction is 12/10, or 6/5. The whole part can be extracted (1), and so the calculation result becomes 1 and 1/5, or 1 1/5.

Cite this calculator & page

If you'd like to cite this online calculator resource and information as provided on the page, you can use the following citation:
Georgiev G.Z., "Decimal to Fraction Calculator", [online] Available at: https://www.gigacalculator.com/calculators/decimal-to-fraction-calculator.php URL [Accessed Date: 14 Apr, 2021].