Decimal and fraction
Calculate, convert and check circuit values in your browser.
Inputs
Results
- Fraction
- 5/8
- Decimal
- 0.625
- Approximation error
- 0
Calculate, convert and check circuit values in your browser.
Convert decimals to reduced fractions and fractions to decimals. Set a maximum denominator and inspect approximation error for repeating decimals.
Content updated:
Use x = numerator / denominator; gcd(n,d). Convert decimals to reduced fractions and fractions to decimals. Set a maximum denominator and inspect approximation error for repeating decimals.
Sources: developer.mozilla.org [1]
5/8. This is a calculated example under the model stated above; it is not a measured component specification.
dimensionless. Convert prefixes before substituting values; keep the input and output units attached to every number.
Sources: developer.mozilla.org [1]
No. A finite decimal differs from the infinite repeating decimal 0.333…. The displayed error quantifies the chosen approximation.
A smaller limit favors simpler fractions; a larger limit can reduce error. This tool allows a maximum denominator up to 10000.
No. Division by zero is undefined. Negative fractions are supported, with the sign normalized and common factors removed.
Answers use the stated model and units. Examples are calculated values, not measurements or component ratings.