Fraction to decimal
Turn a rational number into its decimal value.
Inputs
Use the units shown—
Enter your values and select Calculate.
Formula & explanation
Value = numerator ÷ denominator
Variables & units
- Numerator
- Numeric value · minimum -1000000000, maximum 1000000000
- Denominator
- Numeric value · minimum -1000000000, maximum 1000000000
Worked example
7/8 = 0.875.
Assumptions
A zero denominator is undefined. The displayed decimal may be rounded.
Formula version 1.0.0. JavaScript floating-point arithmetic applies. Results display up to 6 decimal places; stored values retain available precision. Use the units shown.
Practice with an example
Use the default input values to find the answer. The reset icon restores those values.
Calculated on your device. Your latest 100 calculations stay in this browser.