Decimal to Fraction Calculator

Convert a terminating decimal to a reduced fraction with exact digits.

Enter your values

Use a decimal point and up to 100 digits.

Result

-3/8
Numerator
-3
Denominator
8
Need help with your result? Ask a question about your inputs or calculation. Ask AI
0 / 2000
20 requests per day · resets at 00:00 UTC

When to use Decimal to Fraction Calculator

Convert a terminating decimal to a reduced fraction with exact digits.

Use the result to check numerical work, simplify quantities or prepare inputs for another calculation.

How to use this tool

  1. Enter the inputs listed below. Follow the field format, and select units beside each supported quantity.
  2. Results update automatically. Review the main result and its breakdown. Use Clear to enter a new scenario.
  • Terminating decimal — Use a decimal point and up to 100 digits.

How it works

Remove the decimal point to obtain the numerator. Use 10 to the power of the number of decimal places as the denominator, then divide both by their greatest common divisor.

Worked example

The examples below use fixed sample inputs. They explain the calculation and do not change when you edit the tool above.

Terminating decimal
-0.375
Result
-3/8
Numerator
-3
Denominator
8

Understanding the result and its limits

Follow the supported number format. Some operations require integers or nonzero denominators; a decimal display may be rounded.

Frequently asked questions

Should I use a fraction or a rounded decimal?

Keep an exact fraction when later operations need precision. Round only the final display when a practical decimal answer is sufficient.

Methodology and references

Use the formulas and assumptions above when interpreting the example. Any practical estimate depends on the accuracy of the inputs.