Enter a Decimal
Supports terminating and repeating decimals. Use parentheses for repeating parts, e.g., 0.3(3) = 0.333...
Try these examples:
📖 About Decimal to Fraction Conversion
Converting decimals to fractions is a fundamental math skill. This tool handles both types:
- Terminating decimals — e.g., 0.75 = 75/100 = 3/4. Multiply by a power of 10 and simplify.
- Repeating decimals — e.g., 0.333... = 1/3. Solved algebraically: x = 0.333..., 10x = 3.333..., 9x = 3, x = 1/3.
All results are reduced to simplest form using the Euclidean algorithm (GCD).
How to Use the Decimal to Fraction Calculator
Using the Decimal to Fraction Calculator is straightforward:
-
Enter Your Values
Input the required numbers and parameters into the calculator fields. Each field is clearly labeled — simply type your values or use the spinner controls to adjust them. -
Configure Options
Select any additional options such as computation mode, currency, time period, or precision level. The calculator updates automatically as you change values. -
View the Results
The calculated result is displayed instantly with clear formatting. You can Copy the result to your clipboard or adjust input values to see how different scenarios affect the outcome.
❓ FAQ
How do I input a repeating decimal?
Use parentheses around the repeating digit(s). Examples: 0.3(3) = 0.333..., 0.1(428571) = 0.142857142857..., 1.2(7) = 1.2777.... Both pure and mixed repeating decimals work.
Input format rules
Input must be a valid number. Can start with + or -. Must have at most one decimal point. Parentheses must be properly matched for repeating parts. Examples: 0.25 (terminating), 0.(142857) (pure repeating), 0.16(6) (mixed repeating).
How does simplification work?
The tool uses the Euclidean algorithm (GCD) to find the greatest common divisor of the numerator and denominator, then divides both by the GCD. For example, 42/56 has GCD 14, simplifying to 3/4.
What are mixed numbers?
When a fraction's value exceeds 1, it can be expressed as a mixed number (whole number + proper fraction). For example, 7/4 = 1¾. The tool displays both forms for convenience.
Is the result exact?
Yes, completely exact. The tool uses JavaScript BigInt for precise integer arithmetic — no floating-point rounding errors. Repeating decimals are solved via algebraic equations. Every result is mathematically exact.