Decimal to Fraction Converter
A free tool by DeepRit, a Google Ads agency that does PPC and nothing else. We build and run Google Ads accounts so every click is accounted for. Book a free audit call
Free decimal to fraction converter. Turn any decimal, including repeating decimals, into an exact simplified fraction, or the nearest fraction like 1/16.
- Fraction
- 0
- Mixed number
- 0
- Percentage
- 0
Free, no sign-up. Runs in your browser: nothing you type is uploaded or saved.
How to use the decimal to fraction converter
- Type a decimal, such as 0.375, 2.3125 or −1.25.
- For repeating decimals, put the repeating digits in brackets: 0.(3) for 0.333…, 0.1(6) for 0.1666…, 0.(142857) for 1/7.
- Choose the precision: "Exact" gives the precise fraction; a limit such as 16 rounds to the nearest sixteenth, like a tape measure.
The decimal to fraction converter shows the simplified fraction, the mixed number (for values above 1), and the percentage. When you choose a limit, it also shows the exact fraction and how far the rounded one is from it.
How to convert a decimal to a fraction
- Write the decimal over a power of 10. Count the digits after the decimal point: 0.375 has three, so it's 375/1000.
- Simplify by dividing the top and bottom by their greatest common factor. The GCF of 375 and 1000 is 125, so 375/1000 = 3/8.
More examples:
- 0.5 = 5/10 = 1/2
- 0.25 = 25/100 = 1/4
- 0.4375 = 4375/10000 = 7/16
- 2.3125 = 23125/10000 = 37/16 = 2 5/16
- 1.2 = 12/10 = 6/5 = 1 1/5
The decimal to fraction converter does the same thing with exact whole-number arithmetic, so long decimals stay precise.
Repeating decimals
Some fractions give decimals that repeat forever: 1/3 = 0.333…, 1/7 = 0.142857142857…, 1/6 = 0.1666…. These can't be written as a fraction over a power of 10, but they can still be converted exactly, with a little algebra.
For 0.(27), meaning 0.272727…:
- Let x = 0.272727…
- 100x = 27.272727…
- Subtract: 99x = 27, so x = 27/99 = 3/11.
For 0.1(6), meaning 0.1666…:
- 10x = 1.666… and 100x = 16.666…
- Subtract: 90x = 15, so x = 15/90 = 1/6.
The decimal to fraction converter applies the same method to any repeating decimal written with brackets. If you type 0.333 without brackets, it's treated as exactly 333/1000, which is close to, but not the same as, 1/3.
Rounding to the nearest sixteenth (and other fractions)
In building, woodwork, engineering drawings and sewing, measurements are often in fractions of an inch: halves, quarters, eighths, sixteenths, thirty-seconds. A digital caliper or a calculation might give 5.83 inches, but a tape measure shows sixteenths.
Choose "16" and the decimal to fraction converter rounds to the nearest sixteenth: 5.83 × 16 = 93.28, which rounds to 93, so 5 13/16 (5.8125 inches). It also tells you the difference: about 0.0175 inches. For finer work, choose 32 or 64.
The same works for halves (2), quarters (4) and eighths (8). Fractions are always simplified, so 8/16 shows as 1/2.
For limits like 100 or 1000, the converter instead finds the closest fraction with a denominator up to that limit, using continued fractions. That's how 3.14159265 becomes 355/113, an approximation of π accurate to six decimal places.
Fractions, decimals and percentages
These are three ways to write the same value:
- 3/8 = 0.375 = 37.5%
- 7/16 = 0.4375 = 43.75%
- 1/3 = 0.333… = 33.33…%
To convert a decimal to a percentage, multiply by 100. The decimal to fraction converter shows all three. For calculations with fractions (adding, subtracting, multiplying, dividing), use the fraction calculator; for percentage problems, the percentage calculator.
Which decimals terminate?
A fraction in simplest form has a decimal that stops only if its denominator has no prime factors other than 2 and 5. So 3/8, 7/20 and 9/40 all terminate, while 1/3, 5/6 and 2/7 repeat. It's a quick way to know whether a decimal will end.
Common conversions to know
- 0.125 = 1/8, 0.25 = 1/4, 0.375 = 3/8, 0.5 = 1/2, 0.625 = 5/8, 0.75 = 3/4, 0.875 = 7/8
- 0.0625 = 1/16, 0.1875 = 3/16, 0.3125 = 5/16, 0.4375 = 7/16
- 0.2 = 1/5, 0.4 = 2/5, 0.6 = 3/5, 0.8 = 4/5
- 0.333… = 1/3, 0.666… = 2/3, 0.1666… = 1/6, 0.8333… = 5/6
Tips
- Use brackets for repeating digits to get the exact fraction.
- Choose a denominator limit that matches your tool or tape measure.
- Negative decimals work: −0.75 = −3/4.
- For inches and millimetres, convert lengths first with the length converter.
Privacy and accuracy
Your numbers stay in your browser. The decimal to fraction converter uses exact big-integer arithmetic for the exact fraction, the standard algebraic method for repeating decimals, and either nearest-multiple rounding (for powers of two) or the continued-fraction method for other limits. No AI is involved, so results are always exact and always the same. Students, carpenters, machinists, quilters and cooks use it free on any device.
Fractions on a tape measure
Imperial tape measures are marked in halves, quarters, eighths and sixteenths of an inch, with the longest lines for halves and the shortest for sixteenths. Reading 5 13/16 means 5 whole inches plus 13 of the small sixteenth marks. If your calculation gives a decimal, use the decimal to fraction converter with the limit set to 16 (or 32 for finer rules) to find the nearest mark.
Percent to fraction
A percentage is a decimal times 100, so divide by 100 first: 37.5% = 0.375 = 3/8, and 12.5% = 0.125 = 1/8. Type the decimal into the decimal to fraction converter to get the fraction.
Ratios and recipes
Decimals from scaling recipes, such as 0.6667 cups or 1.333 teaspoons, are easier to measure as fractions. With the limit set to 4 or 8, the decimal to fraction converter rounds them to everyday kitchen measures: 0.6667 becomes 2/3 with a limit of 3 or more, or 5/8 with a limit of 8 (a tape-measure style rounding). Choose the limit that matches the measuring spoons or cups you have.
Quick reference
- Terminating decimal: stops, like 0.375.
- Repeating decimal: goes on in a pattern, like 0.333…; write it as 0.(3).
- Simplest form: top and bottom share no factor except 1.
- Mixed number: a whole number plus a fraction, like 2 5/16.
- Improper fraction: top bigger than bottom, like 37/16.
- Denominator limit: the largest bottom number allowed when rounding.
Common mistakes
- Typing 0.333 for one third: that's exactly 333/1000. Use 0.(3) for the exact 1/3.
- Forgetting to simplify: 50/100 is correct but 1/2 is what's expected.
- Rounding to the wrong precision for the job: sixteenths for woodwork, thirty-seconds or sixty-fourths for machining.
Fractions in engineering drawings and machining
Imperial drawings often give dimensions as fractions of an inch, while digital calipers and CAD software show decimals. Machinists commonly work to thousandths of an inch, but drill bits and stock sizes come in fractional sizes such as 1/4, 5/16 and 3/8. Converting 0.3125 gives exactly 5/16, so a 5/16 bit is the right choice; 0.33 rounded to the nearest sixty-fourth gives 21/64. The decimal to fraction converter does both the exact conversion and the rounding to standard sizes, which helps when matching a calculated dimension to the tools and materials actually available in the workshop.
Checking your answer
To check any conversion, divide the top of the fraction by the bottom: 37 ÷ 16 = 2.3125. If you get your original decimal back, the fraction is right. For rounded results, the decimal to fraction converter shows the difference, so you can judge whether the rounding is close enough for the job in hand.
Keep it handy
Bookmark this page so the tool is one tap away next time, on your phone or your computer. It loads quickly, works without an account, and keeps nothing you type. If you use it often, add it to your phone's home screen from the browser's share or menu button, and it opens like an app.
A worked example
A carpenter's plan calls for a shelf 2.3125 inches deep. She types it into the decimal to fraction converter: the exact fraction is 37/16, or 2 5/16 inches, which she can find directly on her tape measure.
Next, a calculation gives a cut length of 5.83 inches. With the limit set to 16, the converter rounds it to 5 13/16 inches (5.8125), just under 0.02 inches short, well within her tolerance. She also checks 0.(27), from a ratio in another plan: it's exactly 3/11.
Need more customers from Google?
This tool is free and runs in your browser. If your business also needs more leads or sales, Google Ads is where people search with their wallet out. That is the whole job of DeepRit: a PPC-only agency that sets up and runs Google Ads accounts so every click is accounted for. You keep full ownership of your account, get a written report every week, and can stop at any time. See our pricing or ask for a free audit.
Frequently asked questions
How do I convert a decimal to a fraction?
Write it over a power of 10 and simplify: 0.75 = 75/100 = 3/4. The decimal to fraction converter does it instantly.
How do I convert a repeating decimal to a fraction?
Type the repeating part in brackets, such as 0.(3). It's converted exactly: 0.(3) = 1/3.
What is 0.375 as a fraction?
3/8.
How do I round a decimal to the nearest 1/16?
Choose 16 as the limit. The converter multiplies by 16, rounds, and simplifies.
What is 0.1 as a fraction?
1/10.
Is the decimal to fraction converter free?
Yes, completely free, with no sign-up.
Free PPC audit
See where your ad budget leaks.
We look at your Google Ads account before the call, then walk you through what we'd fix first, in dollars. No obligation, no hard sell.