What this calculator does
This tool converts in both directions between mixed numbers (or simple fractions) and decimals. Choose "Fraction to Decimal" to turn a whole number plus a fraction such as 2 3/4 into a decimal, or choose "Decimal to Fraction" to turn any decimal like 0.625 into its simplest fraction and the equivalent mixed number.
How to use it
Pick the conversion direction. For fraction-to-decimal, fill in the optional whole number, the numerator and the denominator. For decimal-to-fraction, enter the decimal value. Results appear instantly: the decimal value with the improper fraction, or the simplified proper fraction with the mixed-number form.
The formula explained
To convert a mixed number to a decimal, divide the numerator by the denominator and add the whole part: $$\text{decimal} = w + \frac{n}{d}.$$ To convert a decimal to a fraction, count the digits after the decimal point (\(k\)), write the value as \(\frac{\text{decimal} \times 10^{k}}{10^{k}}\), then divide both numerator and denominator by their greatest common divisor (GCD) to fully reduce it.
Worked example
Convert 0.625 to a fraction. There are 3 decimal places, so multiply by 1000: \(\frac{625}{1000}\). The GCD of 625 and 1000 is 125, so dividing gives \(\frac{5}{8}\). Since 5 is smaller than 8 the mixed number is simply \(\frac{5}{8}\). Going the other way, $$2\,\frac{3}{4} = 2 + \frac{3}{4} = 2 + 0.75 = 2.75.$$
Common Fraction to Decimal Conversion Chart
The table lists frequently used fractions and their decimal values. A fraction is a terminating decimal if the decimal ends after a finite number of digits, and a repeating decimal if one or more digits repeat forever. The three dots (…) mean the pattern continues.
| Fraction | Decimal | Type |
|---|---|---|
| 1/2 | 0.5 | Terminating |
| 1/3 | 0.333… (3 repeats) | Repeating |
| 2/3 | 0.666… (6 repeats) | Repeating |
| 1/4 | 0.25 | Terminating |
| 3/4 | 0.75 | Terminating |
| 1/5 | 0.2 | Terminating |
| 1/6 | 0.1666… (6 repeats) | Repeating |
| 1/8 | 0.125 | Terminating |
| 3/8 | 0.375 | Terminating |
| 5/8 | 0.625 | Terminating |
| 7/8 | 0.875 | Terminating |
| 1/10 | 0.1 | Terminating |
| 1/16 | 0.0625 | Terminating |
| 1/32 | 0.03125 | Terminating |
| 1/64 | 0.015625 | Terminating |
To convert a mixed number, keep the whole part and add the decimal of the fraction. For example, 3 3/4 = 3 + 0.75 = 3.75.
How to Convert by Hand Step by Step
Mixed number or fraction to decimal
- Write the mixed number as whole + numerator/denominator, for example 2 3/8.
- Divide the numerator by the denominator using long division. For 3 ÷ 8: 30 ÷ 8 = 3 remainder 6; 60 ÷ 8 = 7 remainder 4; 40 ÷ 8 = 5 remainder 0. So 3/8 = 0.375.
- Add the whole part: \(2 + 0.375 = 2.375\).
- If a remainder repeats during the division, the decimal repeats from that point (for example 1 ÷ 3 keeps giving remainder 1).
In formula form: \(\text{Decimal} = \text{Whole} + \frac{\text{Numerator}}{\text{Denominator}}\).
Decimal to simplified fraction and mixed number
- Count the digits after the decimal point; call this number \(k\). For 2.375, \(k = 3\).
- Remove the decimal point and write the result over \(10^k\): \(2.375 = \frac{2375}{1000}\).
- Find the greatest common divisor (GCD) with the Euclidean algorithm, repeatedly replacing the pair by (divisor, remainder):
2375 = 2 × 1000 + 375
1000 = 2 × 375 + 250
375 = 1 × 250 + 125
250 = 2 × 125 + 0
The last nonzero remainder is the GCD, which is 125. - Divide both parts by the GCD: \(\frac{2375 \div 125}{1000 \div 125} = \frac{19}{8}\).
- Split the improper fraction into a mixed number: 19 ÷ 8 = 2 remainder 3, so the whole part is 2 and the fraction is 3/8. The result is \(2\tfrac{3}{8}\).
Negatives and when decimals terminate
- Negatives: convert the absolute value and apply the minus sign to the whole result. \(-2\tfrac{3}{8}\) means \(-(2 + \tfrac{3}{8}) = -2.375\), not \(-2 + \tfrac{3}{8}\).
- Termination rule: after the fraction is fully reduced, it gives a terminating decimal only if the denominator's prime factors are 2 and/or 5 (for example 8 = 2³, 20 = 2² × 5). Any other prime factor, such as 3 or 7, produces a repeating decimal (for example 1/6, since 6 = 2 × 3).
- A repeating decimal cannot be written exactly with a finite number of digits. A rounded entry such as 0.333 is treated as 333/1000, not 1/3.
FAQ
Does it always fully reduce the fraction? Yes, it divides by the greatest common divisor so the result is in lowest terms.
What about repeating decimals? The tool uses up to 9 decimal places, so a true repeating decimal is approximated by its truncated value rather than its exact fraction.
Can I enter negative values? Yes, a negative whole number or a negative decimal carries the sign through to the result.