Fraction to Decimal Calculator
Turn a fraction into a decimal, or a decimal into a fraction, without either one being rounded on the way. The page opens on 5/8 with the second box at 0, so the answer is the first number itself converted: 0.625 as a decimal, 62.5 as a percentage, 5/8 in its lowest terms. Type a decimal in that first box instead and it goes the other way, so 0.375 becomes 3/8. A decimal that repeats is written with its period in brackets rather than trailed off, so 1/3 is 0.(3) and 1/6 is 0.1(6), and you can type that form back in: 0.41(6) is read as exactly 5/12.
Each box takes a fraction like 3/4, a mixed number like 1 3/4, a whole number like 7 or a decimal like 0.75, and the answer comes back in every form at once. First box: the fraction to convert, like 5/8. Second box: leave this at 0 to convert the first number on its own.
The working
The same steps you would write on paper, and only the ones these two numbers actually needed.
Worked cases
Each one is computed by the same code that answers your own numbers, every time this page loads.
Common questions
- How do I convert a fraction to a decimal?
- Divide the top number by the bottom one. Five eighths is 5 divided by 8, which is 0.625. This page does that division digit by digit in whole numbers rather than in a floating point number, so the answer is either the complete decimal or a decimal marked with the digits that repeat, and never a rounded stand-in for one.
- How do I convert a decimal to a fraction?
- Put the decimal in the first box and leave the second at 0. The digits after the point tell you the denominator: 0.375 is 375 thousandths, and 375/1000 reduces by 125 to 3/8. 0.2 is 2 tenths, which reduces to 1/5. The working prints that conversion as its first line, and the row under the stage shows the value in its lowest terms beside the decimal it came from.
- What about a repeating decimal like 0.3333?
- Type it with the repeating part in brackets: 0.(3) is read as one third exactly, and 0.41(6) as 5/12. That is the difference between the true value and a decimal cut off by hand, which is only ever an approximation of it. The tool prints repeating decimals in the same form, so anything it shows you can be typed straight back in.
- Why is the second box a 0?
- Because this page converts one number rather than combining two, and adding zero leaves that number exactly as it was. It keeps the same two boxes the full calculator uses, so you can put a second fraction in whenever you want to add, subtract, multiply or divide before converting the result. The working says as much in one line rather than pretending a common denominator was needed.
- Does the decimal get rounded?
- No. The expansion is worked out to 240 places, which is enough for every denominator into the low hundreds to show its full repeating pattern: 1/97 repeats every 96 digits and fits comfortably. If a decimal does run past that it is cut short and marked with an ellipsis, never rounded up, so a 3 on screen is never a 4 that was nudged.
Exact fraction arithmetic with no rounding: the result is simplified, shown as an improper fraction, a mixed number and a decimal, and a repeating decimal is marked with its period. It cannot know the form your teacher wants the answer in.