{"id":64951,"date":"2025-07-15T06:34:46","date_gmt":"2025-07-15T03:34:46","guid":{"rendered":"https:\/\/wpcalc.com\/en\/?p=64951"},"modified":"2026-09-30T20:24:58","modified_gmt":"2026-09-30T17:24:58","slug":"decimal-to-fraction","status":"publish","type":"post","link":"https:\/\/wpcalc.com\/en\/mathematics\/decimal-to-fraction\/","title":{"rendered":"Decimal to Fraction Converter"},"content":{"rendered":"<section class=\"not-prose calculator-box\" aria-labelledby=\"calculator-title\"><div class=\"flex items-baseline sm:items-center justify-between gap-2 sm:gap-3\"><div class=\"flex flex-col sm:flex-row sm:items-center gap-2\"><span class=\"icon icon-calculator text-primary-700! text-base! dark:text-primary-300!\" aria-hidden=\"true\"><\/span><h2 id=\"calculator-title\" class=\"text-lg font-display font-bold\">Convert Decimal to Simplified Fraction<\/h2><\/div><div class=\"calcdash-favorite group\">\n  <button type=\"button\" class=\"favorite\" id=\"favorite\" data-favorite-id=\"64951\" data-favorite-title=\"Decimal to Fraction\" data-favorite-url=\"https:\/\/wpcalc.com\/en\/mathematics\/decimal-to-fraction\/\" data-favorite-excerpt=\"Enter any terminating decimal and this converter instantly returns the simplified fraction, plus its whole and decimal parts. Works with negative numbers and mixed values such as 2.625.\" aria-label=\"Add to Favorites\" data-favorite-icon=\"icon icon-fraction\">\n    <span class=\"icon icon-shape-star-empty\" aria-hidden=\"true\"><\/span>\n  <\/button>\n  <div class=\"calcdash-favorite__tip\" aria-hidden=\"true\">\n   <span class=\"favorite-tooltip\" id=\"favorite-tooltip\"><\/span>\n  <\/div>\n  <span class=\"sr-only\" role=\"status\" id=\"favorite-status\"><\/span>\n<\/div><\/div><form action=\"https:\/\/wpcalc.com\/en\/mathematics\/decimal-to-fraction\/\" method=\"POST\" class=\"calculator\" id=\"calculator-64951\" data-post=\"64951\"><fieldset class=\"fieldset-input\"><legend class=\"sr-only\">Input Fields<\/legend><div class=\"field is-single has-term\" id=\"input-1\"><label for=\"field-1\">Decimal number<\/label><div class=\"term\">x<\/div>  <div class=\"absolute bottom-0 left-16 top-8 w-2 h-0.5 bg-blue-500\"><\/div><input type=\"number\" name=\"decimal_number\" id=\"field-1\" aria-describedby=\"calc-info-1\" step=\"any\" value=\"0.75\"\/><small id=\"calc-info-1\">Enter a decimal to convert to a simplified fraction<\/small><\/div><\/fieldset><div class=\"buttons\"><button type=\"submit\" data-text=\"Re-Calculate\" id=\"calculate-button\" data-post=\"64951\">Calculate<\/button><button type=\"reset\">Reset<\/button><\/div><div class=\"field is-checkbox hidden!\" id=\"field-auto-calc\"><input type=\"checkbox\" id=\"auto-calc\"><label for=\"auto-calc\">Calculate automatically<\/label><small>If enabled, the result will update automatically when you change any value.<\/small><\/div><div class=\"fieldset-result is-hidden\" aria-labelledby=\"result-title\" aria-live=\"polite\" role=\"region\"> <h3 class=\"result-title bg-gradient-to-r from-primary-50 to-gray-50 dark:from-primary-900 dark:to-gray-800\" id=\"result-title\"><span class=\"icon icon-s-pulse\" aria-hidden=\"true\"><\/span> Your Results<\/h3><div class=\"result-box\"><div class=\"field-result\" id=\"output-1\"><span class=\"field-title\"><span>Fraction<\/span><\/span><span class=\"field-value\" id=\"result-1\"><\/span><button type=\"button\" class=\"copy-result\" data-tooltip=\"Copy Result\" aria-label=\"Copy Result\"><span class=\"copy-icon icon icon-document-copy\" aria-hidden=\"true\"><\/span><\/button><\/div><div class=\"field-result\" id=\"output-2\"><span class=\"field-title\"><span>Whole part<\/span><\/span><span class=\"field-value\" id=\"result-2\"><\/span><button type=\"button\" class=\"copy-result\" data-tooltip=\"Copy Result\" aria-label=\"Copy Result\"><span class=\"copy-icon icon icon-document-copy\" aria-hidden=\"true\"><\/span><\/button><\/div><div class=\"field-result\" id=\"output-3\"><span class=\"field-title\"><span>Decimal part<\/span><\/span><span class=\"field-value\" id=\"result-3\"><\/span><button type=\"button\" class=\"copy-result\" data-tooltip=\"Copy Result\" aria-label=\"Copy Result\"><span class=\"copy-icon icon icon-document-copy\" aria-hidden=\"true\"><\/span><\/button><\/div><\/div><div class=\"result-actions\"><button type=\"button\" class=\"copy-link\"><svg viewBox=\"0 0 20 20\" fill=\"currentColor\" aria-hidden=\"true\"><path d=\"M12.232 4.232a2.5 2.5 0 0 1 3.536 3.536l-1.225 1.224a.75.75 0 0 0 1.061 1.06l1.224-1.224a4 4 0 0 0-5.656-5.656l-3 3a4 4 0 0 0 .225 5.865.75.75 0 0 0 .977-1.138 2.5 2.5 0 0 1-.142-3.667l3-3Z\"\/><path d=\"M11.603 7.963a.75.75 0 0 0-.977 1.138 2.5 2.5 0 0 1 .142 3.667l-3 3a2.5 2.5 0 0 1-3.536-3.536l1.225-1.224a.75.75 0 0 0-1.061-1.06l-1.224 1.224a4 4 0 1 0 5.656 5.656l3-3a4 4 0 0 0-.225-5.865Z\"\/><\/svg><span class=\"copy-link__text\">Copy link to this calculation<\/span><\/button><span class=\"sr-only\" role=\"status\" id=\"copy-link-status\"><\/span><\/div><\/div><a href=\"#respond\" class=\"hidden transition-opacity duration-300 opacity-0 w-50 text-sm justify-center items-center gap-2 px-4 py-2 rounded bg-gray-200 text-gray-700 hover:bg-gray-300\" id=\"leave-comment\"><span class=\"icon icon-comments\" aria-hidden=\"true\"><\/span>Leave a Comment<\/a><\/form><\/section><section id=\"calc-reactions\" class=\"not-prose hidden my-12 bg-gradient-to-r from-primary-50 to-gray-50 border border-indigo-100 rounded-xl px-6 py-4 shadow-sm\" data-post=\"64951\" aria-live=\"polite\" aria-labelledby=\"calc-reactions-title\"><p id=\"calc-reactions-title\" class=\"text-sm text-gray-500 text-center mb-2\">How did this result make you feel?<\/p><div role=\"group\" aria-labelledby=\"calc-reactions-title\" class=\"grid grid-cols-3 sm:flex sm:flex-row sm:justify-around gap-4 sm:items-center sm:flex-wrap\"><button type=\"button\" aria-pressed=\"false\" class=\"reaction-btn flex flex-col items-center gap-1 text-sm text-gray-700 hover:text-primary-600 cursor-pointer transition-transform hover:scale-105\" data-reaction=\"like\"><span class=\"reaction-count\" data-reaction-count=\"like\">0<\/span><span class=\"reaction text-3xl\" aria-hidden=\"true\">\ud83d\ude00 <\/span><span class=\"reaction-description font-medium\">Like <\/span><\/button><button type=\"button\" aria-pressed=\"false\" class=\"reaction-btn flex flex-col items-center gap-1 text-sm text-gray-700 hover:text-primary-600 cursor-pointer transition-transform hover:scale-105\" data-reaction=\"helpful\"><span class=\"reaction-count\" data-reaction-count=\"helpful\">0<\/span><span class=\"reaction text-3xl\" aria-hidden=\"true\">\ud83d\udca1 <\/span><span class=\"reaction-description font-medium\">Helpful <\/span><\/button><button type=\"button\" aria-pressed=\"false\" class=\"reaction-btn flex flex-col items-center gap-1 text-sm text-gray-700 hover:text-primary-600 cursor-pointer transition-transform hover:scale-105\" data-reaction=\"confused\"><span class=\"reaction-count\" data-reaction-count=\"confused\">0<\/span><span class=\"reaction text-3xl\" aria-hidden=\"true\">\ud83d\ude15 <\/span><span class=\"reaction-description font-medium\">Confused <\/span><\/button><button type=\"button\" aria-pressed=\"false\" class=\"reaction-btn flex flex-col items-center gap-1 text-sm text-gray-700 hover:text-primary-600 cursor-pointer transition-transform hover:scale-105\" data-reaction=\"disappointed\"><span class=\"reaction-count\" data-reaction-count=\"disappointed\">2<\/span><span class=\"reaction text-3xl\" aria-hidden=\"true\">\ud83d\ude1e <\/span><span class=\"reaction-description font-medium\">Disappointed <\/span><\/button><button type=\"button\" aria-pressed=\"false\" class=\"reaction-btn flex flex-col items-center gap-1 text-sm text-gray-700 hover:text-primary-600 cursor-pointer transition-transform hover:scale-105\" data-reaction=\"inaccurate\"><span class=\"reaction-count\" data-reaction-count=\"inaccurate\">0<\/span><span class=\"reaction text-3xl\" aria-hidden=\"true\">\u274c <\/span><span class=\"reaction-description font-medium\">Inaccurate <\/span><\/button><\/div><div id=\"reaction-message\" class=\"hidden mt-8 rounded-md border border-primary-100 bg-white\/50 backdrop-blur-sm px-4 py-2 text-sm text-center shadow-sm\"><\/div><\/section><div class=\"calcdash-ad not-prose calcdash-ad--calc_result calcdash-ad--in-article\"><ins class=\"adsbygoogle\" style=\"display:block\" data-ad-client=\"ca-pub-1721569815777345\" data-ad-slot=\"6317458308\" data-ad-layout=\"in-article\" data-ad-format=\"fluid\"><\/ins><script>(adsbygoogle = window.adsbygoogle || []).push({});<\/script><\/div>\n<style id=\"wpcoderpro-inline-1\">.formula-box {\r\n\tborder-bottom: none !important;\r\n}<\/style><section class=\"formula-box\" aria-labelledby=\"formula-title\">\r\n\t<div id=\"formula-title\" class=\"not-prose font-display mb-4\"><span class=\"icon icon-formula\" aria-hidden=\"true\"><\/span><h2>Decimal to Fraction Formula<\/h2><\/div>\r\n\t<figure class=\"not-prose formula\">\r\n\t\t<figcaption class=\"formula-title\">Formula<\/figcaption>\r\n\t\t<div class=\"text-base text-gray-800\" id=\"formula\">\n\\[ x = \\frac{d}{10^{n}}, \\qquad g = \\gcd(d, 10^{n}), \\qquad x = \\frac{d \\div g}{10^{n} \\div g} \\]\n<\/div>\r\n\t<\/figure>\r\n\t<\/p>\n<p><strong>Where:<\/strong><\/p>\n<ul>\n<li>\\(d\\) \u2014 the integer formed by the digits after the decimal point (for 0.75, \\(d = 75\\))<\/li>\n<li>\\(n\\) \u2014 the number of decimal places (for 0.75, \\(n = 2\\))<\/li>\n<li>\\(g\\) \u2014 the greatest common divisor of the numerator and denominator<\/li>\n<\/ul>\n<p>The first equality turns the decimal into a fraction using place value; dividing both parts by \\(g\\) reduces the fraction to its simplest form.<\/p>\n<p>\r\n<\/section>\n<style id=\"wpcoderpro-inline-459\">.calculation-box {\r\n\tborder-bottom: none !important;\r\n}<\/style><section id=\"calculation\" class=\"calculation-box\" aria-labelledby=\"calculation-title\">\r\n\t<div id=\"calculation-title\" class=\"not-prose font-display\"><span class=\"icon icon-unordered-list\" aria-hidden=\"true\"><\/span><h2>Decimal to Fraction \u2013 Calculation Example<\/h2><\/div>\r\n\r\n<\/p>\n<p><strong>Example:<\/strong> convert the default value, 0.75.<\/p>\n<p>\\[ 0.75 = \\frac{75}{100} \\]<\/p>\n<p>\\[ g = \\gcd(75, 100) = 25 \\]<\/p>\n<p>\\[ 0.75 = \\frac{75 \\div 25}{100 \\div 25} = \\frac{3}{4} \\]<\/p>\n<p><strong>Result:<\/strong> 0.75 = \\(\\frac{3}{4}\\). The whole part is 0 and the decimal part is \\(\\frac{3}{4}\\).<\/p>\n<p>\n\r\n<\/section>\n<h2>How to Use the Calculator<\/h2>\n<ol>\n<li>Type your value into the <strong>Decimal number<\/strong> field, for example 0.75 or 2.625. Negative values such as -1.375 are also accepted.<\/li>\n<li>Read the <strong>Fraction<\/strong> result: the simplified fraction, shown as a mixed number (e.g. \\(2\\frac{5}{8}\\)) when the value is greater than 1.<\/li>\n<li>Check the <strong>Whole part<\/strong> field for the integer portion of your number.<\/li>\n<li>Check the <strong>Decimal part<\/strong> field for the simplified fraction that remains after removing the whole part.<\/li>\n<\/ol>\n<h2>What Does Decimal to Fraction Conversion Mean?<\/h2>\n<p>Every terminating decimal is just another way of writing a fraction whose denominator is a power of ten. The digits after the decimal point tell you the numerator, and the number of those digits tells you the denominator: one decimal place means tenths, two means hundredths, three means thousandths, and so on. That is why 0.75 is literally the fraction \\(\\frac{75}{100}\\), and 2.625 is \\(\\frac{2625}{1000}\\).<\/p>\n<p>Writing the fraction over a power of ten is only the first step. Fractions are considered fully simplified when the numerator and denominator share no common factor other than 1, so the calculator divides both by their greatest common divisor. In the example above, \\(\\frac{75}{100}\\) reduces to \\(\\frac{3}{4}\\) because both 75 and 100 are divisible by 25. A simplified fraction is easier to read, compare, and use in further calculations.<\/p>\n<p>When the decimal is greater than 1 or negative, the calculator separates the whole part from the fractional part. The value 2.625 becomes the mixed number \\(2\\frac{5}{8}\\): the whole part is 2, and the decimal part \\(\\frac{625}{1000}\\) simplifies to \\(\\frac{5}{8}\\). This matches how measurements are usually written in cooking, carpentry, and machining \u2014 think of a board cut to \\(2\\frac{5}{8}\\) inches.<\/p>\n<p>Fraction form often reveals structure that decimals hide. A decimal like 0.375 tells you little at a glance, but \\(\\frac{3}{8}\\) immediately shows its relationship to other eighths, to 37.5%, and to common ruler markings. Converting between the two forms is a core skill in algebra, trigonometry, and any field that mixes metric decimals with fractional measurements.<\/p>\n<h2>Common Decimal to Fraction Conversions<\/h2>\n<table>\n<thead>\n<tr>\n<th>Decimal<\/th>\n<th>Fraction<\/th>\n<th>Decimal<\/th>\n<th>Fraction<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>0.5<\/td>\n<td>\\(\\frac{1}{2}\\)<\/td>\n<td>0.375<\/td>\n<td>\\(\\frac{3}{8}\\)<\/td>\n<\/tr>\n<tr>\n<td>0.25<\/td>\n<td>\\(\\frac{1}{4}\\)<\/td>\n<td>0.625<\/td>\n<td>\\(\\frac{5}{8}\\)<\/td>\n<\/tr>\n<tr>\n<td>0.75<\/td>\n<td>\\(\\frac{3}{4}\\)<\/td>\n<td>0.875<\/td>\n<td>\\(\\frac{7}{8}\\)<\/td>\n<\/tr>\n<tr>\n<td>0.2<\/td>\n<td>\\(\\frac{1}{5}\\)<\/td>\n<td>0.0625<\/td>\n<td>\\(\\frac{1}{16}\\)<\/td>\n<\/tr>\n<tr>\n<td>0.125<\/td>\n<td>\\(\\frac{1}{8}\\)<\/td>\n<td>1.5<\/td>\n<td>\\(1\\frac{1}{2}\\)<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>For a fuller set of equivalents, see the <a href=\"https:\/\/wpcalc.com\/en\/mathematics\/decimal-conversion-table\/\">Decimal Conversion Table<\/a>.<\/p>\n<h2>Assumptions and Limitations<\/h2>\n<ul>\n<li><strong>Terminating decimals only.<\/strong> The calculator reads exactly the digits you type, so it is designed for decimals that end, such as 0.75 or 3.12. A repeating decimal like \\(0.\\overline{3}\\) cannot be typed exactly, so enter as many digits as practical and simplify the result, or use the algebraic method below.<\/li>\n<li><strong>Repeating decimals by hand.<\/strong> To convert \\(0.\\overline{3}\\) exactly, set \\(x = 0.\\overline{3}\\), so \\(10x = 3.\\overline{3}\\). Subtracting gives \\(9x = 3\\), hence \\(x = \\frac{1}{3}\\). The same trick works for any repeating pattern.<\/li>\n<li><strong>Floating-point precision.<\/strong> Very long decimals (15+ digits) may be affected by the way computers store numbers, so results for such values should be double-checked.<\/li>\n<li><strong>Whole numbers and zeros.<\/strong> If you enter a value like 5 or 0, the calculator returns the integer itself, since there is no fractional part to convert.<\/li>\n<li><strong>Verify with the reverse operation.<\/strong> A quick way to confirm a result is to convert it back with the <a href=\"https:\/\/wpcalc.com\/en\/mathematics\/fraction-to-decimal\/\">Fraction to Decimal<\/a> calculator and check that you get the original number.<\/li>\n<\/ul>\n<h2>Related Tools<\/h2>\n<p>Once you have your fraction, you can take it further: <a href=\"https:\/\/wpcalc.com\/en\/mathematics\/simplify-fraction\/\">Simplify Fraction<\/a> reduces any fraction step by step, <a href=\"https:\/\/wpcalc.com\/en\/mathematics\/improper-fraction-to-mixed-number\/\">Improper Fraction to Mixed Number<\/a> reformats top-heavy fractions, and <a href=\"https:\/\/wpcalc.com\/en\/mathematics\/fraction-to-percentage-table\/\">Fraction to Percentage Table<\/a> helps you express the result as a percent.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Enter any terminating decimal and this converter instantly returns the simplified fraction, plus its whole and decimal parts. Works with negative numbers and mixed values such as 2.625.<\/p>\n","protected":false},"author":3168,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[7],"tags":[70],"class_list":["post-64951","post","type-post","status-publish","format-standard","hentry","category-mathematics","tag-fractions"],"acf":[],"_links":{"self":[{"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/posts\/64951","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/users\/3168"}],"replies":[{"embeddable":true,"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/comments?post=64951"}],"version-history":[{"count":4,"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/posts\/64951\/revisions"}],"predecessor-version":[{"id":66220,"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/posts\/64951\/revisions\/66220"}],"wp:attachment":[{"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/media?parent=64951"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/categories?post=64951"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/tags?post=64951"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}