{"id":1650,"date":"2024-12-17T09:51:21","date_gmt":"2024-12-17T09:51:21","guid":{"rendered":"https:\/\/donhit.com\/en\/?p=1650"},"modified":"2025-02-07T08:04:05","modified_gmt":"2025-02-07T08:04:05","slug":"walking-calories","status":"publish","type":"post","link":"https:\/\/donhit.com\/en\/calculator\/walking-calories\/","title":{"rendered":"Walking Calories Burned Calculator"},"content":{"rendered":"<p><center>    <div class=\"calculator-container w-full max-w-md rounded-xl p-8\">\r\n        <h2 class=\"text-3xl font-bold text-center mb-6 text-gray-800\">\ud83d\udeb6\u200d\u2640\ufe0f Walking Calories Calculator<\/h2>\r\n        \r\n        <div class=\"space-y-4\">\r\n            <div class=\"input-group\">\r\n                <label class=\"block text-gray-700 mb-2\" for=\"weight\">Weight (kg):<\/label>\r\n                <input \r\n                    type=\"number\" \r\n                    id=\"weight\" \r\n                    class=\"w-full px-4 py-2 border rounded-lg focus:outline-none focus:ring-2 focus:ring-green-400\" \r\n                    placeholder=\"Enter your weight\"\r\n                    min=\"20\"\r\n                    max=\"300\"\r\n                >\r\n            <\/div>\r\n\r\n            <div class=\"input-group\">\r\n                <label class=\"block text-gray-700 mb-2\" for=\"speed\">Walking Speed:<\/label>\r\n                <select \r\n                    id=\"speed\" \r\n                    class=\"w-full px-4 py-2 border rounded-lg focus:outline-none focus:ring-2 focus:ring-green-400\"\r\n                >\r\n                    <option value=\"2.5\">Casual Stroll (2.5 mph)<\/option>\r\n                    <option value=\"3.5\" selected>Moderate Pace (3.5 mph)<\/option>\r\n                    <option value=\"4.5\">Brisk Walk (4.5 mph)<\/option>\r\n                <\/select>\r\n            <\/div>\r\n\r\n            <div class=\"input-group\">\r\n                <label class=\"block text-gray-700 mb-2\" for=\"duration\">Duration (minutes):<\/label>\r\n                <input \r\n                    type=\"number\" \r\n                    id=\"duration\" \r\n                    class=\"w-full px-4 py-2 border rounded-lg focus:outline-none focus:ring-2 focus:ring-green-400\" \r\n                    placeholder=\"Enter walking time\"\r\n                    min=\"10\"\r\n                    max=\"240\"\r\n                >\r\n            <\/div>\r\n\r\n            <div class=\"input-group\">\r\n                <label class=\"block text-gray-700 mb-2\" for=\"terrain\">Terrain:<\/label>\r\n                <select \r\n                    id=\"terrain\" \r\n                    class=\"w-full px-4 py-2 border rounded-lg focus:outline-none focus:ring-2 focus:ring-green-400\"\r\n                >\r\n                    <option value=\"1.0\">Flat Surface<\/option>\r\n                    <option value=\"1.2\">Slightly Hilly<\/option>\r\n                    <option value=\"1.4\">Hilly Terrain<\/option>\r\n                <\/select>\r\n            <\/div>\r\n\r\n            <button \r\n                id=\"calculateBtn\" \r\n                class=\"w-full bg-green-500 text-white py-3 rounded-lg hover:bg-green-600 transition duration-300\"\r\n            >\r\n                Calculate Calories Burned\r\n            <\/button>\r\n\r\n            <div \r\n                id=\"result\" \r\n                class=\"text-center mt-4 text-xl font-bold text-gray-800\"\r\n            ><\/div>\r\n\r\n            <div \r\n                id=\"insights\" \r\n                class=\"text-center mt-2 text-sm text-gray-600\"\r\n            ><\/div>\r\n        <\/div>\r\n    <\/div>\r\n\r\n    <script>\r\n        document.getElementById('calculateBtn').addEventListener('click', function() {\r\n            const weight = parseFloat(document.getElementById('weight').value);\r\n            const speed = parseFloat(document.getElementById('speed').value);\r\n            const duration = parseFloat(document.getElementById('duration').value);\r\n            const terrain = parseFloat(document.getElementById('terrain').value);\r\n            \r\n            const resultElement = document.getElementById('result');\r\n            const insightsElement = document.getElementById('insights');\r\n\r\n            \/\/ Comprehensive input validation\r\n            if (isNaN(weight) || isNaN(duration)) {\r\n                resultElement.innerHTML = '\u26a0\ufe0f Please enter valid numbers';\r\n                resultElement.style.color = 'red';\r\n                insightsElement.innerHTML = '';\r\n                return;\r\n            }\r\n\r\n            if (weight < 20 || weight > 300) {\r\n                resultElement.innerHTML = '\u26a0\ufe0f Weight must be between 20-300 kg';\r\n                resultElement.style.color = 'red';\r\n                insightsElement.innerHTML = '';\r\n                return;\r\n            }\r\n\r\n            if (duration < 10 || duration > 240) {\r\n                resultElement.innerHTML = '\u26a0\ufe0f Duration must be between 10-240 minutes';\r\n                resultElement.style.color = 'red';\r\n                insightsElement.innerHTML = '';\r\n                return;\r\n            }\r\n\r\n            \/\/ Precise MET-based calculation with terrain factor\r\n            const METvalues = {\r\n                '2.5': 2.8,  \/\/ Casual stroll\r\n                '3.5': 3.5,  \/\/ Moderate pace\r\n                '4.5': 4.3   \/\/ Brisk walk\r\n            };\r\n\r\n            const met = METvalues[speed] * terrain;\r\n            const caloriesBurned = (met * weight * duration) \/ 60;\r\n\r\n            \/\/ Display results\r\n            resultElement.innerHTML = `\ud83d\udd25 Calories Burned: ${caloriesBurned.toFixed(1)} kcal`;\r\n            resultElement.style.color = 'green';\r\n\r\n            \/\/ Provide additional insights\r\n            let speedDesc = speed === '2.5' ? 'casual' : speed === '3.5' ? 'moderate' : 'brisk';\r\n            let terrainDesc = terrain === 1.0 ? 'flat surface' : terrain === 1.2 ? 'slightly hilly' : 'hilly terrain';\r\n\r\n            insightsElement.innerHTML = `Walking ${speedDesc} for ${duration} minutes on a ${terrainDesc}`;\r\n        });\r\n    <\/script>\r\n<\/body><\/center><\/p>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[184],"tags":[],"class_list":["post-1650","post","type-post","status-publish","format-standard","hentry","category-calculator"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Walking Calories Burned Calculator - DonHit<\/title>\n<meta name=\"description\" content=\"Walking burns calories through energy expenditure, which depends on three main factors: body weight, walking speed, and distance covered\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/donhit.com\/en\/calculator\/walking-calories\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Walking Calories Burned Calculator - DonHit\" \/>\n<meta property=\"og:description\" content=\"Walking burns calories through energy expenditure, which depends on three main factors: body weight, walking speed, and distance covered\" \/>\n<meta property=\"og:url\" content=\"https:\/\/donhit.com\/en\/calculator\/walking-calories\/\" \/>\n<meta property=\"og:site_name\" content=\"DonHit - World of Tools\" \/>\n<meta property=\"article:published_time\" content=\"2024-12-17T09:51:21+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-02-07T08:04:05+00:00\" \/>\n<meta name=\"author\" content=\"DonHit\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"DonHit\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Walking Calories Burned Calculator - DonHit","description":"Walking burns calories through energy expenditure, which depends on three main factors: body weight, walking speed, and distance covered","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/donhit.com\/en\/calculator\/walking-calories\/","og_locale":"en_US","og_type":"article","og_title":"Walking Calories Burned Calculator - DonHit","og_description":"Walking burns calories through energy expenditure, which depends on three main factors: body weight, walking speed, and distance covered","og_url":"https:\/\/donhit.com\/en\/calculator\/walking-calories\/","og_site_name":"DonHit - World of Tools","article_published_time":"2024-12-17T09:51:21+00:00","article_modified_time":"2025-02-07T08:04:05+00:00","author":"DonHit","twitter_card":"summary_large_image","twitter_misc":{"Written by":"DonHit","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/donhit.com\/en\/calculator\/walking-calories\/#article","isPartOf":{"@id":"https:\/\/donhit.com\/en\/calculator\/walking-calories\/"},"author":{"name":"DonHit","@id":"https:\/\/donhit.com\/en\/#\/schema\/person\/0c6ff7dcd8ba4810c56a532f09c33148"},"headline":"Walking Calories Burned Calculator","datePublished":"2024-12-17T09:51:21+00:00","dateModified":"2025-02-07T08:04:05+00:00","mainEntityOfPage":{"@id":"https:\/\/donhit.com\/en\/calculator\/walking-calories\/"},"wordCount":8,"commentCount":0,"publisher":{"@id":"https:\/\/donhit.com\/en\/#\/schema\/person\/0c6ff7dcd8ba4810c56a532f09c33148"},"articleSection":["Calculator"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/donhit.com\/en\/calculator\/walking-calories\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/donhit.com\/en\/calculator\/walking-calories\/","url":"https:\/\/donhit.com\/en\/calculator\/walking-calories\/","name":"Walking Calories Burned Calculator - DonHit","isPartOf":{"@id":"https:\/\/donhit.com\/en\/#website"},"datePublished":"2024-12-17T09:51:21+00:00","dateModified":"2025-02-07T08:04:05+00:00","description":"Walking burns calories through energy expenditure, which depends on three main factors: body weight, walking speed, and distance covered","breadcrumb":{"@id":"https:\/\/donhit.com\/en\/calculator\/walking-calories\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/donhit.com\/en\/calculator\/walking-calories\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/donhit.com\/en\/calculator\/walking-calories\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Trang ch\u1ee7","item":"https:\/\/donhit.com\/en\/"},{"@type":"ListItem","position":2,"name":"Calculator","item":"https:\/\/donhit.com\/en\/category\/calculator\/"},{"@type":"ListItem","position":3,"name":"Walking Calories Burned Calculator"}]},{"@type":"WebSite","@id":"https:\/\/donhit.com\/en\/#website","url":"https:\/\/donhit.com\/en\/","name":"DonHit - World of tools","description":"","publisher":{"@id":"https:\/\/donhit.com\/en\/#\/schema\/person\/0c6ff7dcd8ba4810c56a532f09c33148"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/donhit.com\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/donhit.com\/en\/#\/schema\/person\/0c6ff7dcd8ba4810c56a532f09c33148","name":"DonHit","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/donhit.com\/en\/#\/schema\/person\/image\/","url":"https:\/\/donhit.com\/en\/wp-content\/uploads\/2024\/11\/logo-donhit.webp","contentUrl":"https:\/\/donhit.com\/en\/wp-content\/uploads\/2024\/11\/logo-donhit.webp","width":400,"height":267,"caption":"DonHit"},"logo":{"@id":"https:\/\/donhit.com\/en\/#\/schema\/person\/image\/"},"description":"DonHit is a website designed to provide useful tools for everyone. Its primary goal is to support and empower the community. All the tools available on the site are completely free to use.","sameAs":["https:\/\/donhit.com\/en"],"url":"https:\/\/donhit.com\/en\/author\/admin_don\/"}]}},"_links":{"self":[{"href":"https:\/\/donhit.com\/en\/wp-json\/wp\/v2\/posts\/1650","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/donhit.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/donhit.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/donhit.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/donhit.com\/en\/wp-json\/wp\/v2\/comments?post=1650"}],"version-history":[{"count":2,"href":"https:\/\/donhit.com\/en\/wp-json\/wp\/v2\/posts\/1650\/revisions"}],"predecessor-version":[{"id":2034,"href":"https:\/\/donhit.com\/en\/wp-json\/wp\/v2\/posts\/1650\/revisions\/2034"}],"wp:attachment":[{"href":"https:\/\/donhit.com\/en\/wp-json\/wp\/v2\/media?parent=1650"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/donhit.com\/en\/wp-json\/wp\/v2\/categories?post=1650"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/donhit.com\/en\/wp-json\/wp\/v2\/tags?post=1650"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}