Fraction to decimal converter
Fraction to decimal and decimal to fraction, both ways. Live, exact, with mixed numbers. Runs locally.
- Runs in your browser
- No sign-up
- No watermark
- No installs
Fraction to decimal
Decimal to fraction
What this tool does
This is a two-way converter for fractions and decimals. Going one way, it turns a fraction into a decimal by dividing the numerator by the denominator, and it marks any repeating block in parentheses. Going the other way, it turns a decimal into its simplest fraction, reduced with a greatest common divisor step, and it can recognize a rounded repeating decimal such as 0.3333 as 1/3. An improper result also shows a mixed number. Everything runs locally in your browser; nothing you type is sent anywhere, which you can confirm by opening DevTools and watching the Network tab stay empty.
How to use it
For fraction to decimal, type the numerator and the denominator into the two boxes on
the left; the decimal updates live. For decimal to fraction, type a number such as
0.75 into the box on the right; the simplest fraction updates live. Both
directions accept a leading minus sign. Try 7/4 to see the mixed number
1 3/4, or type 0.3333 to see it recognized as 1/3 with the exact finite
value listed below.
Common use cases
- Reading a measurement written as a fraction, like 3/8 inch, as a decimal.
- Turning a decimal from a calculator back into a clean fraction for a recipe or a drawing.
- Checking that a repeating decimal such as 0.3333 really means 1/3.
- Converting an improper fraction into a mixed number for a list or a plan.
- Simplifying a fraction to its lowest terms.
Common pitfalls
- Rounded is not exact. 0.3333 is not exactly 1/3; it is a rounding of it. The tool shows 1/3 as the likely intent and also lists the exact finite value 3333/10000, so you can pick the one you meant.
- Repeating decimals never end. A fraction like 1/3 has no finite
decimal. The tool writes the repeating block in parentheses, as
0.(3), and also gives a rounded value to ten places. - A zero denominator is undefined. A fraction with a zero denominator has no value, so the tool shows an error rather than a number.
- Trailing zeros carry meaning here. Typing 0.50 versus 0.5 does not change the value, but adding digits, as in 0.3333 versus 0.33, changes how confidently a repeating fraction can be detected.
Frequently asked questions
- How do I convert a fraction to a decimal?
- Divide the numerator by the denominator. Type the top number in the Numerator box and the bottom number in the Denominator box, and the decimal appears instantly. For example, 3/4 is 3 divided by 4, which equals 0.75, and 1/8 equals 0.125. When the division does not terminate, the tool shows the repeating block in parentheses, so 1/3 is written as 0.(3) and 22/7 as 3.(142857).
- How do I convert a decimal to a fraction?
- Type the decimal into the Decimal box. The tool reads every digit, writes the value over the matching power of ten, and reduces it with a greatest common divisor step. So 0.75 becomes 75/100, which reduces to 3/4, and 0.5 becomes 1/2. The result is always in lowest terms, and an improper result also shows a mixed number.
- How does it recognize repeating decimals like 0.3333?
- A rounded repeating decimal such as 0.3333 sits very close to a simple fraction. The tool checks whether a fraction with a small denominator lands inside the rounding window of what you typed. If one does, it reports that simple fraction and also lists the exact finite value. So 0.3333 is read as 1/3, while its exact finite value 3333/10000 is shown underneath.
- What is a mixed number and when does it appear?
- A mixed number writes an improper fraction as a whole part plus a proper fraction, which is often easier to read. It appears whenever the fraction is improper, meaning the numerator is larger than the denominator. For example, 7/4 is shown as the mixed number 1 3/4, and 15/2 is shown as 7 1/2.
- What happens if the denominator is zero?
- Division by zero is undefined, so the tool does not try to compute it. Instead it shows a short error under the fraction and leaves the result empty until you enter a denominator that is not zero. Every other field keeps working normally.
- Does it handle negative numbers and large values?
- Yes. Put a minus sign in front of the numerator, the denominator, or the decimal, and the sign carries through to the answer. All arithmetic uses arbitrary precision integers, so very large numerators and denominators reduce and divide exactly, with no rounding error from floating point.
Cite this tool
For academic, journalistic, or technical references. Pick a format:
Citations use 2026 as the publication year. Access date is left as a fillable placeholder where the citation style expects one.