Convert any decimal number into a simplified fraction instantly, with exact precision, right in your browser.
Enter a decimal number to convert it.
Every decimal can be written as a whole number over a power of 10. The number of digits after the decimal point decides the power: one digit means tenths (÷10), two digits means hundredths (÷100), and so on. Once written that way, the fraction is simplified by dividing both the numerator and denominator by their greatest common divisor (GCD).
| Decimal | Fraction |
|---|---|
| 0.5 | 1/2 |
| 0.75 | 3/4 |
| 1.25 | 5/4 (1 1/4) |
| 2 | 2/1 |
| 0 | 0/1 |
| -0.5 | -1/2 |
Write the decimal's digits as a whole number over a power of 10 matching the number of digits after the decimal point (e.g. 0.75 becomes 75/100), then simplify by dividing both parts by their greatest common divisor.
Whenever the decimal is 1 or greater (like 1.25), the resulting fraction's numerator is larger than its denominator, which makes it "improper." This calculator also shows the same value as a mixed number (a whole number plus a proper fraction) since both are correct, commonly used representations.
No -- this tool converts the finite decimal exactly as typed. Typing "0.3333333" converts that specific value, not the mathematical concept of 1/3. Detecting an intended repeating decimal from a truncated typed value is inherently ambiguous, so this calculator doesn't guess.
Yes. Conversion works directly from the digits you typed rather than from JavaScript's floating-point representation of that number, so a value like 0.1 converts to the exact fraction 1/10, not an approximation.
Decimals longer than 15 digits after the point are truncated to 15 digits before converting, since numbers beyond that length can no longer be represented exactly. You'll see a note when this happens.
Yes. A whole number like 2 converts to 2/1, and a negative decimal like -0.5 converts to -1/2 (the sign is always shown on the numerator).
No. Every conversion happens locally in your browser using JavaScript. Nothing you enter here is sent to Brekzy or stored anywhere.
Explore Brekzy's growing collection of free calculators, converters, AI tools, and practical resources.