Skip to content
Decimal to Fraction Calculator

Decimal to Fraction Calculator

TRONIXLABS · ELECTRONICS CALCULATORS

Decimal to Fraction Calculator

Convert a signed decimal into an exact reduced fraction and a practical nearby fraction.

0.37538Same value · different representation
A decimal can be written as a ratio of integers and reduced to lowest terms.

The interactive calculator has not loaded. Enable JavaScript and allow it on this page. The formulas and worked example below remain available.

How the calculation works

Write decimal digits over 10ⁿ, then divide numerator and denominator by their greatest common divisor.

Convert a signed decimal into an exact reduced fraction and a practical nearby fraction. Keep the units beside each field in mind: a prefix changes the numerical scale, and a valid result depends on using the correct input quantities.

Worked example

0.375 = 375/1000 = 3/8. With a maximum denominator of 8, 0.333 becomes approximately 1/3.

Exact fraction3 / 8Practical fraction3 / 8Absolute approximation error0Worked example · default inputs
Illustrated results for the default example. Change the inputs above to explore your own values.

Using the result

The exact result represents the decimal you entered, not an assumed repeating decimal. The practical result searches denominators up to the chosen limit. Scientific notation is not accepted in this tool.

Results are rounded to eight significant figures for display. Extra displayed digits do not imply extra measurement accuracy. Reset example returns the calculator to the values used in the illustration.

Email support@tronixlabs.com if you have any questions or feedback. Check out our Electronics Calculators and Tutorials for other calculators and articles of interest.

Previous article Temperature Conversion Calculator
Next article SMD Resistor Code Calculator