Decimal to Fraction Converter
To turn a decimal into a fraction, write the digits over a power of 10 and divide the top and bottom by their greatest common divisor: 0.375 = 375/1000 = 3/8. A repeating decimal works too, with the repeating digits in parentheses: 0.(3) = 1/3 and 0.1(6) = 1/6. For a tape measure, round the decimal to the nearest mark instead: 0.7 inch is 11/16" to the nearest 1/16 inch (rounding error −0.0125 in, −0.3175 mm), 11/16" to the nearest 1/32, and 0.99 inch rounds to 1". Everything is exact, and the steps are shown.
Updated Runs in your browser: nothing you enter is uploadedHow this tool works
0.375 = 3/8
3/8
Exact, in lowest terms.
- Fraction
- 3/8
- Decimal
- 0.375
- Percent
- 37.5%
The working, step by step
- Count the digits after the point: 0.375 has 3, so write it over 10^3 = 1000: 0.375 = 375/1000.
- Simplify: GCD(375, 1000) = 125. Divide the top and bottom by 125: 375 ÷ 125 = 3 and 1000 ÷ 125 = 8, so 375/1000 = 3/8.
Fractions of an inch with decimal and millimetre equivalents
| Fraction of an inch | Decimal inches | Millimetres |
|---|---|---|
| 1/64 | 0.015625 | 0.396875 |
| 1/32 | 0.03125 | 0.79375 |
| 3/64 | 0.046875 | 1.190625 |
| 1/16 | 0.0625 | 1.5875 |
| 5/64 | 0.078125 | 1.984375 |
| 3/32 | 0.09375 | 2.38125 |
| 7/64 | 0.109375 | 2.778125 |
| 1/8 | 0.125 | 3.175 |
| 9/64 | 0.140625 | 3.571875 |
| 5/32 | 0.15625 | 3.96875 |
| 11/64 | 0.171875 | 4.365625 |
| 3/16 | 0.1875 | 4.7625 |
| 13/64 | 0.203125 | 5.159375 |
| 7/32 | 0.21875 | 5.55625 |
| 15/64 | 0.234375 | 5.953125 |
| 1/4 | 0.25 | 6.35 |
| 17/64 | 0.265625 | 6.746875 |
| 9/32 | 0.28125 | 7.14375 |
| 19/64 | 0.296875 | 7.540625 |
| 5/16 | 0.3125 | 7.9375 |
| 21/64 | 0.328125 | 8.334375 |
| 11/32 | 0.34375 | 8.73125 |
| 23/64 | 0.359375 | 9.128125 |
| 3/8 | 0.375 | 9.525 |
| 25/64 | 0.390625 | 9.921875 |
| 13/32 | 0.40625 | 10.31875 |
| 27/64 | 0.421875 | 10.715625 |
| 7/16 | 0.4375 | 11.1125 |
| 29/64 | 0.453125 | 11.509375 |
| 15/32 | 0.46875 | 11.90625 |
| 31/64 | 0.484375 | 12.303125 |
| 1/2 | 0.5 | 12.7 |
| 33/64 | 0.515625 | 13.096875 |
| 17/32 | 0.53125 | 13.49375 |
| 35/64 | 0.546875 | 13.890625 |
| 9/16 | 0.5625 | 14.2875 |
| 37/64 | 0.578125 | 14.684375 |
| 19/32 | 0.59375 | 15.08125 |
| 39/64 | 0.609375 | 15.478125 |
| 5/8 | 0.625 | 15.875 |
| 41/64 | 0.640625 | 16.271875 |
| 21/32 | 0.65625 | 16.66875 |
| 43/64 | 0.671875 | 17.065625 |
| 11/16 | 0.6875 | 17.4625 |
| 45/64 | 0.703125 | 17.859375 |
| 23/32 | 0.71875 | 18.25625 |
| 47/64 | 0.734375 | 18.653125 |
| 3/4 | 0.75 | 19.05 |
| 49/64 | 0.765625 | 19.446875 |
| 25/32 | 0.78125 | 19.84375 |
| 51/64 | 0.796875 | 20.240625 |
| 13/16 | 0.8125 | 20.6375 |
| 53/64 | 0.828125 | 21.034375 |
| 27/32 | 0.84375 | 21.43125 |
| 55/64 | 0.859375 | 21.828125 |
| 7/8 | 0.875 | 22.225 |
| 57/64 | 0.890625 | 22.621875 |
| 29/32 | 0.90625 | 23.01875 |
| 59/64 | 0.921875 | 23.415625 |
| 15/16 | 0.9375 | 23.8125 |
| 61/64 | 0.953125 | 24.209375 |
| 31/32 | 0.96875 | 24.60625 |
| 63/64 | 0.984375 | 25.003125 |
| 1 | 1 | 25.4 |
Decimal inches rounded to the nearest tape mark
| Decimal inches | Nearest 1/16 | Nearest 1/32 | Nearest 1/64 | Error at 1/16 |
|---|---|---|---|---|
| 0.1 | 1/8" | 3/32" | 3/32" | +0.025 in, +0.635 mm |
| 0.3 | 5/16" | 5/16" | 19/64" | +0.0125 in, +0.3175 mm |
| 0.7 | 11/16" | 11/16" | 45/64" | −0.0125 in, −0.3175 mm |
| 0.99 | 1" | 1" | 63/64" | +0.01 in, +0.254 mm |
| 1.2 | 1 3/16" | 1 3/16" | 1 13/64" | −0.0125 in, −0.3175 mm |
| 2.8 | 2 13/16" | 2 13/16" | 2 51/64" | +0.0125 in, +0.3175 mm |
| 5.4375 | 5 7/16" | 5 7/16" | 5 7/16" | None (exact) |
| 7.62 | 7 5/8" | 7 5/8" | 7 5/8" | +0.005 in, +0.127 mm |
Common decimals as fractions
| Decimal | Fraction | Mixed number |
|---|---|---|
| 0.5 | 1/2 | 1/2 |
| 0.25 | 1/4 | 1/4 |
| 0.75 | 3/4 | 3/4 |
| 0.125 | 1/8 | 1/8 |
| 0.375 | 3/8 | 3/8 |
| 0.2 | 1/5 | 1/5 |
| 0.4 | 2/5 | 2/5 |
| 0.6 | 3/5 | 3/5 |
| 0.8 | 4/5 | 4/5 |
| 0.05 | 1/20 | 1/20 |
| 0.(3) | 1/3 | 1/3 |
| 0.(6) | 2/3 | 2/3 |
| 0.1(6) | 1/6 | 1/6 |
| 0.8(3) | 5/6 | 5/6 |
| 0.(142857) | 1/7 | 1/7 |
| 1.5 | 3/2 | 1 1/2 |
| 2.375 | 19/8 | 2 3/8 |
How to convert a decimal to a fraction
- Count the digits after the decimal point. 0.375 has three, so the denominator is 10 to the power 3, which is 1000. The numerator is the digits without the point: 375.
- Write the digits over the power of 10. 0.375 = 375/1000. A whole-number part stays: 2.375 = 2375/1000.
- Divide the top and bottom by their GCD. The greatest common divisor of 375 and 1000 is 125, so 375/1000 = 3/8. 2.375 = 2 3/8, or 19/8 as an improper fraction.
- For a repeating decimal, subtract a shifted copy. With x = 0.(3), 10x = 3.(3), and subtracting gives 9x = 3, so x = 1/3. Type the repeating digits in parentheses, or end with three dots: 0.666... = 2/3.
- For a tape measure, round to the nearest mark. Multiply the decimal inches by the number of marks per inch and round to a whole number: 0.7 × 16 = 11.2, which rounds to 11, so 11/16 inch. The rounding error (rounded minus exact) is −0.0125 in, −0.3175 mm.
Frequently asked questions
- How do you convert a decimal to a fraction?
- Write the digits after the point over 1 followed by as many zeros, then simplify by dividing the top and bottom by their greatest common divisor. 0.375 = 375/1000, and the GCD of 375 and 1000 is 125, so it is 3/8. For 2.375 the answer is 2 3/8, which is 19/8 as an improper fraction.
- How do you convert a repeating decimal to a fraction?
- Subtract a shifted copy of the number from itself so the repeating part cancels. With x = 0.(3), 10x − x = 3, so x = 3/9 = 1/3. With x = 0.1(6), 100x − 10x = 15, so x = 15/90 = 1/6. Type the repeating digits in parentheses, as in 0.(3) or 0.1(6).
- What does 0.333... mean, and does the converter accept it?
- Three dots after a decimal mean the last digit repeats forever, so 0.333... is 0.(3) = 1/3 and 0.666... is 2/3. The converter reads three dots (or the … character) that way. For a longer repeating block such as 0.142857142857..., put the block in parentheses: 0.(142857) = 1/7.
- How do I convert a decimal inch to a fraction on a tape measure?
- Choose tape measure mode and the finest mark your tape or project needs. A tape shows halves, quarters, eighths, sixteenths and sometimes thirty-seconds, so 0.7 inch is 11/16" to the nearest 1/16 inch, 11/16" to the nearest 1/32 inch and 45/64" to the nearest 1/64 inch. The rounding error is shown in inches and millimetres, so you can decide whether it matters for the cut.
- How much error does rounding to 1/16 inch cause?
- At most half a mark: 1/32 inch, or about 0.79 mm, for a 1/16 inch tape. The converter shows the actual error for your number, for example 0.7 inch is 11/16" (−0.0125 in, −0.3175 mm). Rounding to 1/32 inch halves the worst case to 1/64 inch, about 0.4 mm.
- Why does 0.99 inch round to 1 inch?
- Because 0.99 is closer to 1 than to 15/16, which is 0.9375. At 1/16 inch the nearest mark is 1", only 0.01 inch away. A decimal that lands on a whole number of marks needs no fraction at all, and a result of 12 inches or more is also shown in feet and inches.
- Can I enter feet instead of inches?
- Yes. In tape measure mode choose “Feet” for the unit and the number is multiplied by 12 first: 5.4 feet is 64.8 inches, which rounds to 64 13/16" at 1/16 inch, or 5' 4 13/16" in feet and inches.
- How do I convert a fraction to a decimal?
- Type the fraction and the converter divides the top by the bottom. 5/16 = 5 ÷ 16 = 0.3125, and in millimetres a 5/16 inch mark is 7.9375 mm. Fractions such as 1/3 do not end, and the repeating digits are shown in parentheses: 0.(3).
- Does it handle negative numbers and mixed numbers?
- Yes. A minus sign is carried through: −0.75 = −3/4. A mixed number such as 2 3/8 is read exactly and shown as the decimal 2.375.
- Is the conversion exact, or does it use floating point?
- It is exact. Digits are kept as whole numbers of any size (up to 30 digits), never as floating-point values, so a decimal such as 0.30000000000000004 gives its true fraction instead of 3/10. Rounding happens only in tape measure mode, once, and the error is shown.
How it works
The number you type is read as an exact fraction: a decimal is its digits over a power of 10 (0.375 = 375/1000), and a repeating decimal such as 0.1(6) is found by subtracting a copy shifted past the repeating block, (100x − 10x) / (100 − 10) = 15/90. The result is reduced by dividing by the greatest common divisor, found with Euclid’s algorithm, and written as a fraction and a mixed number. Three dots after a decimal mean its last digit repeats. A fraction or mixed number typed in is converted to a decimal by long division, and the digits that repeat are shown in parentheses. In tape measure mode the length in inches (feet are multiplied by 12) is scaled by the number of marks per inch and rounded to the nearest whole mark, with a tie rounded away from zero; the error is the rounded length minus the exact one. Millimetres use the definition 1 inch = 25.4 mm exactly. Every figure is computed with whole-number arithmetic, so nothing is rounded except the tape measure result. It all runs in your browser and nothing you type is sent anywhere.
Sources
More free tools
- Fraction CalculatorAdd, subtract, multiply and divide fractions and mixed numbers like 2 3/8 + 1 5/16, simplify, and convert to decimals, with every step shown.
- Ratio & Proportion CalculatorSolve a/b = c/d for x by cross-multiplication with the steps shown, simplify a ratio like 6:9:15, or split a total in a ratio such as 120 in 2:3:5.
- Scientific Notation ConverterConvert any number to scientific, E and engineering notation or back to standard form, round to significant figures, and count the sig figs you typed.
- GCF and LCM CalculatorFind the GCF (GCD) and LCM of 2 to 20 numbers with Euclid’s algorithm, prime factors and multiples shown, plus Bézout coefficients and fraction reduction.
- Cooking Measurement ConverterConvert cups, tablespoons, teaspoons and ml with US, metric, Australian or UK sizes, get kitchen fractions like 3 tbsp + 1 tsp, and scale a recipe.
- Quadratic Equation SolverSolve ax² + bx + c = 0 step by step: discriminant, exact and decimal roots (real or complex), vertex, factored form, completing the square and a graph.
- Baluster Spacing CalculatorBalusters per rail section, the equal gap, on-center spacing and the first baluster’s position from the section length, baluster width and largest gap.
- Board and Batten CalculatorBattens, the equal gap and on-center spacing for a board and batten wall from its width, batten size and target gap, plus the boards to buy and a cut list.
- Tile Layout CalculatorFind the full tiles and the edge cut at each wall for a room, with a tile or a grout joint centered, and see which centering leaves the larger cuts.
- Self-Leveling Underlayment CalculatorBags of self-leveling underlayment for a floor from its area, average pour thickness (1/8 to 1 in) and waste, with the volume of mix and coverage per bag.
- Baseboard / Trim CalculatorEstimate how many pieces of baseboard or trim you need to go around a room, with waste built in for standard rooms or ones with lots of corners.
- Crown Molding CalculatorPieces of crown molding for a room with scarf joints and a cut list, plus the miter and bevel settings for cutting it flat on a compound miter saw.
- Drywall CalculatorSheets of 4 × 8, 4 × 10 or 4 × 12 drywall for a room’s walls and ceiling, minus doors and windows, plus joint compound, tape and screws.