# Decimal to fraction calculator

Decimal to fraction calculator allows you to convert decimal number to its fraction representation. Enter a number in the input field below and click convert to start the calculation.

## Result

## Calculation steps

This is the steps of how to convert decimal to fraction.

Firstly, make the input fraction by placing 1 as it denominator.

$$\frac{\mathrm{0.25}}{1}$$Count the number of digits after the decimal place and let it be n, then find a fraction multiplier with this formula.

$${10}^{n}={10}^{2}=100$$Multiply the fraction multiplier to the fraction obtained in step one.

$$\frac{0.25\times 100}{1\times 100}=\frac{\mathrm{25}}{\mathrm{100}}$$Find the GCD of numerator and denominator, then divide it to the fraction to reduce the fraction to its simplest form.

$$\text{gcd(25, 100)}=25$$$$\frac{25\xf725}{100\xf725}=\frac{1}{4}$$

**Therefore, the result of converting the decimal to a fraction is:**

## About decimal to fraction calculator

Decimal to fraction calculator allows you to quickly convert a decimal number to its fraction representation with calculation steps. The input for the calculator has one value which must be a decimal number greater than or equal to zero. The result of the calculation will be a result fraction and can also have a simplified fraction or mixed number in case it's available.