{"id":10903,"date":"2026-09-10T10:50:34","date_gmt":"2026-09-10T10:50:34","guid":{"rendered":"https:\/\/demoweb.fourdotshr.com\/multi\/?page_id=10903"},"modified":"2026-11-23T13:30:56","modified_gmt":"2026-11-23T13:30:56","slug":"inflation-impact-calculator","status":"publish","type":"page","link":"https:\/\/demoweb.fourdotshr.com\/multi\/inflation-impact-calculator\/","title":{"rendered":"Inflation Impact Calculator"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"10903\" class=\"elementor elementor-10903\" data-elementor-settings=\"{&quot;ha_cmc_init_switcher&quot;:&quot;no&quot;}\" data-elementor-post-type=\"page\">\n\t\t\t\t<div class=\"elementor-element elementor-element-5e4fec0 e-flex e-con-boxed e-con e-parent\" data-id=\"5e4fec0\" data-element_type=\"container\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;,&quot;_ha_eqh_enable&quot;:false}\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t<div class=\"elementor-element elementor-element-6000455 e-con-full e-flex e-con e-child\" data-id=\"6000455\" data-element_type=\"container\" data-settings=\"{&quot;_ha_eqh_enable&quot;:false}\">\n\t\t<div class=\"elementor-element elementor-element-f1b72b3 e-con-full e-flex e-con e-child\" data-id=\"f1b72b3\" data-element_type=\"container\" data-settings=\"{&quot;_ha_eqh_enable&quot;:false}\">\n\t\t<div class=\"elementor-element elementor-element-5adb474 e-con-full e-flex e-con e-child\" data-id=\"5adb474\" data-element_type=\"container\" data-settings=\"{&quot;_ha_eqh_enable&quot;:false}\">\n\t\t<div class=\"elementor-element elementor-element-bbd91ea e-con-full e-flex e-con e-child\" data-id=\"bbd91ea\" data-element_type=\"container\" data-settings=\"{&quot;_ha_eqh_enable&quot;:false}\">\n\t\t\t\t<div class=\"elementor-element elementor-element-4999311 elementor-button-default enable-effects-no elementor-widget elementor-widget-button\" data-id=\"4999311\" data-element_type=\"widget\" data-widget_type=\"button.default\">\n\t\t\t\t\t\t\t\t\t\t<a class=\"elementor-button elementor-button-link elementor-size-sm\" href=\"https:\/\/demoweb.fourdotshr.com\/multi\/calculator\/\">\n\t\t\t\t\t\t<span class=\"elementor-button-content-wrapper\">\n\t\t\t\t\t\t<span class=\"elementor-button-icon\">\n\t\t\t\t<i aria-hidden=\"true\" class=\"hm hm-arrow-left\"><\/i>\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t<span class=\"elementor-button-text\">All calculators <\/span>\n\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-db990b1 e-con-full e-flex e-con e-child\" data-id=\"db990b1\" data-element_type=\"container\" data-settings=\"{&quot;_ha_eqh_enable&quot;:false}\">\n\t\t<div class=\"elementor-element elementor-element-75f512e e-con-full e-flex e-con e-child\" data-id=\"75f512e\" data-element_type=\"container\" data-settings=\"{&quot;_ha_eqh_enable&quot;:false}\">\n\t\t<div class=\"elementor-element elementor-element-3c221b1 e-con-full e-flex e-con e-child\" data-id=\"3c221b1\" data-element_type=\"container\" data-settings=\"{&quot;_ha_eqh_enable&quot;:false}\">\n\t\t\t\t<div class=\"elementor-element elementor-element-59b8c38 elementor-widget elementor-widget-text-editor\" data-id=\"59b8c38\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t\t\t\t\t\t<p>Planning \u00b7 Inflation<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-b310adc elementor-widget__width-initial elementor-widget-divider--view-line elementor-widget elementor-widget-divider\" data-id=\"b310adc\" data-element_type=\"widget\" data-widget_type=\"divider.default\">\n\t\t\t\t\t\t\t<div class=\"elementor-divider\">\n\t\t\t<span class=\"elementor-divider-separator\">\n\t\t\t\t\t\t<\/span>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-7c9f080 elementor-widget elementor-widget-text-editor\" data-id=\"7c9f080\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t\t\t\t\t\t<p style=\"color: #002f5d;\">Inflation Impact Calculator<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-9a6efc4 elementor-widget elementor-widget-text-editor\" data-id=\"9a6efc4\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t\t\t\t\t\t<p>See how inflation erodes purchasing power over time and how much your investments must earn to stay ahead.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-76a074a e-con-full e-flex e-con e-child\" data-id=\"76a074a\" data-element_type=\"container\" data-settings=\"{&quot;_ha_eqh_enable&quot;:false}\">\n\t\t\t\t<div class=\"elementor-element elementor-element-38f11a1 elementor-widget elementor-widget-html\" data-id=\"38f11a1\" data-element_type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t\t<!-- ============================================\r\n     INFLATION IMPACT CALCULATOR\r\n     Elementor HTML Widget\r\n============================================= -->\r\n\r\n<link rel=\"preconnect\" href=\"https:\/\/fonts.googleapis.com\">\r\n<link rel=\"preconnect\" href=\"https:\/\/fonts.gstatic.com\" crossorigin>\r\n<link href=\"https:\/\/fonts.googleapis.com\/css2?family=Roboto:wght@400;500;600;700&display=swap\" rel=\"stylesheet\">\r\n\r\n<div class=\"inflation-calculator\">\r\n\r\n  <!-- =========================================\r\n       LEFT SIDE\r\n  ========================================== -->\r\n\r\n  <div class=\"inflation-left\">\r\n\r\n    <!-- Today's Value -->\r\n    <div class=\"inflation-field\">\r\n\r\n      <div class=\"inflation-field-top\">\r\n        <span class=\"inflation-label\">\r\n          Today\u2019s value \/ expense\r\n        <\/span>\r\n\r\n        <strong id=\"inflationAmountDisplay\">\r\n          \u20b91.00 L\r\n        <\/strong>\r\n      <\/div>\r\n\r\n      <input\r\n        type=\"range\"\r\n        id=\"inflationAmount\"\r\n        min=\"10000\"\r\n        max=\"10000000\"\r\n        step=\"10000\"\r\n        value=\"100000\"\r\n      >\r\n\r\n      <div class=\"inflation-range-labels\">\r\n        <span>\u20b910K<\/span>\r\n        <span>\u20b91 Cr<\/span>\r\n      <\/div>\r\n\r\n    <\/div>\r\n\r\n\r\n    <!-- Inflation Rate -->\r\n    <div class=\"inflation-field\">\r\n\r\n      <div class=\"inflation-field-top\">\r\n        <span class=\"inflation-label\">\r\n          Inflation rate\r\n        <\/span>\r\n\r\n        <strong id=\"inflationRateDisplay\">\r\n          6% p.a.\r\n        <\/strong>\r\n      <\/div>\r\n\r\n      <input\r\n        type=\"range\"\r\n        id=\"inflationRate\"\r\n        min=\"2\"\r\n        max=\"12\"\r\n        step=\"0.1\"\r\n        value=\"6\"\r\n      >\r\n\r\n      <div class=\"inflation-range-labels\">\r\n        <span>2%<\/span>\r\n        <span>12%<\/span>\r\n      <\/div>\r\n\r\n    <\/div>\r\n\r\n\r\n    <!-- Time Horizon -->\r\n    <div class=\"inflation-field\">\r\n\r\n      <div class=\"inflation-field-top\">\r\n        <span class=\"inflation-label\">\r\n          Time horizon\r\n        <\/span>\r\n\r\n        <strong id=\"inflationYearsDisplay\">\r\n          10 years\r\n        <\/strong>\r\n      <\/div>\r\n\r\n      <input\r\n        type=\"range\"\r\n        id=\"inflationYears\"\r\n        min=\"1\"\r\n        max=\"40\"\r\n        step=\"1\"\r\n        value=\"10\"\r\n      >\r\n\r\n      <div class=\"inflation-range-labels\">\r\n        <span>1 yr<\/span>\r\n        <span>40 yrs<\/span>\r\n      <\/div>\r\n\r\n    <\/div>\r\n\r\n\r\n    <!-- Expected Return -->\r\n    <div class=\"inflation-field\">\r\n\r\n      <div class=\"inflation-field-top\">\r\n        <span class=\"inflation-label\">\r\n          Expected investment return\r\n        <\/span>\r\n\r\n        <strong id=\"investmentReturnDisplay\">\r\n          12% p.a.\r\n        <\/strong>\r\n      <\/div>\r\n\r\n      <input\r\n        type=\"range\"\r\n        id=\"investmentReturn\"\r\n        min=\"5\"\r\n        max=\"20\"\r\n        step=\"0.1\"\r\n        value=\"12\"\r\n      >\r\n\r\n      <div class=\"inflation-range-labels\">\r\n        <span>5%<\/span>\r\n        <span>20%<\/span>\r\n      <\/div>\r\n\r\n    <\/div>\r\n\r\n\r\n    <!-- Note -->\r\n    <div class=\"inflation-note\">\r\n      <strong>Note:<\/strong>\r\n      India\u2019s average CPI inflation has been ~5\u20136% over the last decade.\r\n      Food and education inflate faster \u2014 plan for 7\u20138% for those specific goals.\r\n    <\/div>\r\n\r\n  <\/div>\r\n\r\n\r\n  <!-- =========================================\r\n       RIGHT RESULT PANEL\r\n  ========================================== -->\r\n\r\n  <div class=\"inflation-result\">\r\n\r\n    <div class=\"inflation-result-heading\">\r\n      YOU'LL NEED IN <span id=\"headingYears\">10 YEARS<\/span>\r\n    <\/div>\r\n\r\n\r\n    <div class=\"inflation-main-value\" id=\"futureValueDisplay\">\r\n      \u20b91.79 L\r\n    <\/div>\r\n\r\n\r\n    <div class=\"inflation-main-subtext\">\r\n      to match today\u2019s <span id=\"todayAmountText\">\u20b91.00 L<\/span> in value\r\n    <\/div>\r\n\r\n\r\n    <!-- Purchasing Power Lost -->\r\n    <div class=\"inflation-result-row\">\r\n\r\n      <div class=\"inflation-row-left\">\r\n        <span class=\"inflation-dot red\"><\/span>\r\n        <span>Purchasing power lost<\/span>\r\n      <\/div>\r\n\r\n      <strong\r\n        class=\"inflation-red\"\r\n        id=\"purchasingPowerDisplay\"\r\n      >\r\n        \u20b944.2K\r\n      <\/strong>\r\n\r\n    <\/div>\r\n\r\n\r\n    <!-- Nominal Investment Value -->\r\n    <div class=\"inflation-result-row\">\r\n\r\n      <div class=\"inflation-row-left\">\r\n        <span class=\"inflation-dot gray\"><\/span>\r\n        <span>Nominal investment value<\/span>\r\n      <\/div>\r\n\r\n      <strong id=\"nominalValueDisplay\">\r\n        \u20b93.11 L\r\n      <\/strong>\r\n\r\n    <\/div>\r\n\r\n\r\n    <!-- Real Value -->\r\n    <div class=\"inflation-result-row\">\r\n\r\n      <div class=\"inflation-row-left\">\r\n        <span class=\"inflation-dot blue\"><\/span>\r\n        <span>Real (inflation-adjusted) value<\/span>\r\n      <\/div>\r\n\r\n      <strong\r\n        class=\"inflation-red\"\r\n        id=\"realValueDisplay\"\r\n      >\r\n        \u20b91.73 L\r\n      <\/strong>\r\n\r\n    <\/div>\r\n\r\n\r\n    <!-- Real Return -->\r\n    <div class=\"inflation-real-return-row\">\r\n\r\n      <span>\r\n        Real return rate\r\n      <\/span>\r\n\r\n      <strong id=\"realReturnDisplay\">\r\n        5.66% p.a.\r\n      <\/strong>\r\n\r\n    <\/div>\r\n\r\n\r\n    <!-- Buttons -->\r\n    <div class=\"inflation-buttons\">\r\n\r\n      <a\r\n        href=\"https:\/\/demoweb.fourdotshr.com\/multi\/contact-us\/\"\r\n        class=\"inflation-primary-btn\"\r\n      >\r\n        Inflation-proof my portfolio\r\n        <span>\u2192<\/span>\r\n      <\/a>\r\n\r\n      <a\r\n        href=\"https:\/\/demoweb.fourdotshr.com\/multi\/calculator\/\"\r\n        class=\"inflation-secondary-btn\"\r\n      >\r\n        All calculators\r\n      <\/a>\r\n\r\n    <\/div>\r\n\r\n  <\/div>\r\n\r\n<\/div>\r\n\r\n\r\n<style>\r\n\r\n\/* ============================================\r\n   GLOBAL\r\n============================================ *\/\r\n\r\n.inflation-calculator,\r\n.inflation-calculator * {\r\n  box-sizing: border-box;\r\n}\r\n\r\n.inflation-calculator {\r\n  width: 100%;\r\n  max-width: 1500px;\r\n  margin: 0 auto;\r\n\r\n  padding: 25px;\r\n\r\n  display: grid;\r\n  grid-template-columns: 1.03fr 1fr;\r\n  gap: 25px;\r\n\r\n  background: #ffffff;\r\n\r\n  border: 1px solid #edf1f6;\r\n  border-radius: 28px;\r\n\r\n  box-shadow:\r\n    0 12px 35px rgba(0, 47, 93, 0.08);\r\n\r\n  font-family: \"Roboto\", Arial, sans-serif;\r\n\r\n  color: #002f5d;\r\n}\r\n\r\n\r\n\/* ============================================\r\n   LEFT SIDE\r\n============================================ *\/\r\n\r\n.inflation-left {\r\n  padding: 2px 0 0;\r\n}\r\n\r\n.inflation-field {\r\n  margin-bottom: 24px;\r\n}\r\n\r\n.inflation-field-top {\r\n  display: flex;\r\n  align-items: center;\r\n  justify-content: space-between;\r\n\r\n  gap: 15px;\r\n\r\n  margin-bottom: 9px;\r\n}\r\n\r\n.inflation-label {\r\n  font-size: 15px;\r\n  line-height: 1.4;\r\n  font-weight: 400;\r\n\r\n  color: #002f5d;\r\n}\r\n\r\n.inflation-field-top strong {\r\n  font-size: 17px;\r\n  line-height: 1.4;\r\n\r\n  font-weight: 500;\r\n\r\n  color: #004b8d;\r\n\r\n  white-space: nowrap;\r\n}\r\n\r\n\r\n\/* ============================================\r\n   SLIDERS\r\n============================================ *\/\r\n\r\n.inflation-calculator input[type=\"range\"] {\r\n  width: 100%;\r\n  height: 5px;\r\n\r\n  margin: 0;\r\n  padding: 0;\r\n\r\n  appearance: none;\r\n  -webkit-appearance: none;\r\n\r\n  border: none;\r\n  border-radius: 20px;\r\n\r\n  outline: none;\r\n\r\n  cursor: pointer;\r\n\r\n  background:\r\n    linear-gradient(\r\n      to right,\r\n      #1478ff 0%,\r\n      #1478ff var(--progress, 50%),\r\n      #dfe9f7 var(--progress, 50%),\r\n      #dfe9f7 100%\r\n    );\r\n}\r\n\r\n\r\n\/* Chrome \/ Safari *\/\r\n\r\n.inflation-calculator\r\ninput[type=\"range\"]::-webkit-slider-thumb {\r\n\r\n  appearance: none;\r\n  -webkit-appearance: none;\r\n\r\n  width: 18px;\r\n  height: 18px;\r\n\r\n  border-radius: 50%;\r\n\r\n  border: 1.5px solid #1478ff;\r\n\r\n  background: #ffffff;\r\n\r\n  box-shadow:\r\n    0 3px 8px rgba(20, 120, 255, 0.18);\r\n\r\n  cursor: pointer;\r\n}\r\n\r\n\r\n\/* Firefox *\/\r\n\r\n.inflation-calculator\r\ninput[type=\"range\"]::-moz-range-thumb {\r\n\r\n  width: 18px;\r\n  height: 18px;\r\n\r\n  border-radius: 50%;\r\n\r\n  border: 1.5px solid #1478ff;\r\n\r\n  background: #ffffff;\r\n\r\n  box-shadow:\r\n    0 3px 8px rgba(20, 120, 255, 0.18);\r\n\r\n  cursor: pointer;\r\n}\r\n\r\n\r\n\/* ============================================\r\n   RANGE LABELS\r\n============================================ *\/\r\n\r\n.inflation-range-labels {\r\n  display: flex;\r\n  justify-content: space-between;\r\n\r\n  margin-top: 7px;\r\n\r\n  font-size: 15px;\r\n  line-height: 1.3;\r\n\r\n  color: #7b8796;\r\n}\r\n\r\n\r\n\/* ============================================\r\n   NOTE\r\n============================================ *\/\r\n\r\n.inflation-note {\r\n  margin-top: 7px;\r\n\r\n  padding: 13px 14px;\r\n\r\n  background: #f8fafc;\r\n\r\n  border-radius: 17px;\r\n\r\n  font-size: 15px;\r\n  line-height: 1.45;\r\n\r\n  color: #586777;\r\n}\r\n\r\n.inflation-note strong {\r\n  color: #1c3045;\r\n  font-weight: 600;\r\n}\r\n\r\n\r\n\/* ============================================\r\n   RESULT PANEL\r\n============================================ *\/\r\n\r\n.inflation-result {\r\n\r\n  min-width: 0;\r\n\r\n  padding: 27px 26px 24px;\r\n\r\n  background:\r\n    linear-gradient(\r\n      135deg,\r\n      #f0f6ff 0%,\r\n      #eef9ff 48%,\r\n      #e4faf9 100%\r\n    );\r\n\r\n  border-radius: 25px;\r\n}\r\n\r\n\r\n\/* ============================================\r\n   RESULT HEADING\r\n============================================ *\/\r\n\r\n.inflation-result-heading {\r\n\r\n  font-size: 15px;\r\n  line-height: 1.3;\r\n\r\n  letter-spacing: 1.7px;\r\n\r\n  font-weight: 500;\r\n\r\n  color: #6d7d91;\r\n}\r\n\r\n\r\n\/* ============================================\r\n   MAIN VALUE\r\n============================================ *\/\r\n\r\n.inflation-main-value {\r\n\r\n  margin-top: 5px;\r\n\r\n  font-size: 31px;\r\n  line-height: 1.15;\r\n\r\n  font-weight: 700;\r\n\r\n  color: #003f80;\r\n}\r\n\r\n.inflation-main-subtext {\r\n\r\n  margin-top: 2px;\r\n\r\n  font-size: 15px;\r\n  line-height: 1.4;\r\n\r\n  color: #586777;\r\n}\r\n\r\n\r\n\/* ============================================\r\n   RESULT ROWS\r\n============================================ *\/\r\n\r\n.inflation-result-row {\r\n\r\n  display: flex;\r\n  align-items: center;\r\n  justify-content: space-between;\r\n\r\n  gap: 15px;\r\n\r\n  margin-top: 24px;\r\n\r\n  font-size: 15px;\r\n  line-height: 1.4;\r\n\r\n  color: #52657a;\r\n}\r\n\r\n.inflation-row-left {\r\n\r\n  display: flex;\r\n  align-items: center;\r\n\r\n  gap: 9px;\r\n}\r\n\r\n.inflation-result-row strong {\r\n\r\n  font-size: 17px;\r\n  font-weight: 500;\r\n\r\n  color: #172e43;\r\n\r\n  white-space: nowrap;\r\n}\r\n\r\n\r\n\/* ============================================\r\n   DOTS\r\n============================================ *\/\r\n\r\n.inflation-dot {\r\n\r\n  width: 8px;\r\n  height: 8px;\r\n\r\n  flex: 0 0 8px;\r\n\r\n  border-radius: 50%;\r\n}\r\n\r\n.inflation-dot.red {\r\n  background: #e19ca1;\r\n}\r\n\r\n.inflation-dot.gray {\r\n  background: #d0d0d0;\r\n}\r\n\r\n.inflation-dot.blue {\r\n  background: #1478ff;\r\n}\r\n\r\n\r\n\/* ============================================\r\n   RED VALUES\r\n============================================ *\/\r\n\r\n.inflation-red {\r\n  color: #e05a5f !important;\r\n}\r\n\r\n\r\n\/* ============================================\r\n   REAL RETURN\r\n============================================ *\/\r\n\r\n.inflation-real-return-row {\r\n\r\n  display: flex;\r\n  justify-content: space-between;\r\n  align-items: center;\r\n\r\n  gap: 15px;\r\n\r\n  margin-top: 13px;\r\n\r\n  font-size: 15px;\r\n  line-height: 1.4;\r\n\r\n  color: #52657a;\r\n}\r\n\r\n.inflation-real-return-row strong {\r\n\r\n  font-size: 17px;\r\n\r\n  font-weight: 500;\r\n\r\n  color: #168047;\r\n\r\n  white-space: nowrap;\r\n}\r\n\r\n\r\n\/* ============================================\r\n   BUTTONS\r\n============================================ *\/\r\n\r\n.inflation-buttons {\r\n\r\n  display: flex;\r\n  align-items: center;\r\n\r\n  gap: 10px;\r\n\r\n  margin-top: 25px;\r\n}\r\n\r\n.inflation-primary-btn,\r\n.inflation-secondary-btn {\r\n\r\n  display: inline-flex;\r\n  align-items: center;\r\n  justify-content: center;\r\n\r\n  min-height: 38px;\r\n\r\n  padding: 9px 16px;\r\n\r\n  border-radius: 22px;\r\n\r\n  font-family: \"Roboto\", Arial, sans-serif;\r\n\r\n  font-size: 15px;\r\n  line-height: 1.2;\r\n\r\n  font-weight: 500;\r\n\r\n  text-decoration: none !important;\r\n\r\n  transition:\r\n    all 0.2s ease;\r\n}\r\n\r\n\r\n\/* Primary *\/\r\n\r\n.inflation-primary-btn {\r\n\r\n  color: #ffffff !important;\r\n\r\n  background: #1478ff;\r\n\r\n  box-shadow:\r\n    0 8px 18px rgba(20, 120, 255, 0.20);\r\n}\r\n\r\n.inflation-primary-btn span {\r\n\r\n  margin-left: 5px;\r\n\r\n  font-size: 16px;\r\n}\r\n\r\n.inflation-primary-btn:hover {\r\n\r\n  color: #ffffff !important;\r\n\r\n  background: #ee7403;\r\n\r\n  transform: translateY(-1px);\r\n\r\n  box-shadow:\r\n    0 8px 18px rgba(238, 116, 3, 0.20);\r\n}\r\n\r\n\r\n\/* Secondary *\/\r\n\r\n.inflation-secondary-btn {\r\n\r\n  color: #16466f !important;\r\n\r\n  background: #ffffff;\r\n\r\n  border: 1px solid #d3dfed;\r\n}\r\n\r\n.inflation-secondary-btn:hover {\r\n\r\n  color: #ffffff !important;\r\n\r\n  background: #002f5d;\r\n\r\n  border-color: #002f5d;\r\n}\r\n\r\n\r\n\/* ============================================\r\n   TABLET\r\n============================================ *\/\r\n\r\n@media (max-width: 900px) {\r\n\r\n  .inflation-calculator {\r\n    grid-template-columns: 1fr;\r\n\r\n    max-width: 720px;\r\n  }\r\n\r\n}\r\n\r\n\r\n\/* ============================================\r\n   MOBILE\r\n============================================ *\/\r\n\r\n@media (max-width: 600px) {\r\n\r\n  .inflation-calculator {\r\n\r\n    padding: 16px;\r\n\r\n    gap: 18px;\r\n\r\n    border-radius: 22px;\r\n  }\r\n\r\n  .inflation-result {\r\n\r\n    padding: 22px 18px 20px;\r\n\r\n    border-radius: 20px;\r\n  }\r\n\r\n  .inflation-main-value {\r\n    font-size: 28px;\r\n  }\r\n\r\n  .inflation-field-top strong {\r\n    font-size: 17px;\r\n  }\r\n\r\n  .inflation-buttons {\r\n\r\n    flex-direction: column;\r\n\r\n    align-items: stretch;\r\n  }\r\n\r\n  .inflation-primary-btn,\r\n  .inflation-secondary-btn {\r\n\r\n    width: 100%;\r\n\r\n    min-height: 43px;\r\n\r\n    font-size: 15px;\r\n  }\r\n\r\n}\r\n\r\n\r\n\/* ============================================\r\n   SMALL MOBILE\r\n============================================ *\/\r\n\r\n@media (max-width: 380px) {\r\n\r\n  .inflation-calculator {\r\n    padding: 13px;\r\n  }\r\n\r\n  .inflation-result {\r\n    padding: 20px 15px;\r\n  }\r\n\r\n  .inflation-main-value {\r\n    font-size: 26px;\r\n  }\r\n\r\n}\r\n\r\n<\/style>\r\n\r\n\r\n<script>\r\n\r\n(function () {\r\n\r\n  \/* ==========================================\r\n     ELEMENTS\r\n  ========================================== *\/\r\n\r\n  const amountSlider =\r\n    document.getElementById(\"inflationAmount\");\r\n\r\n  const inflationSlider =\r\n    document.getElementById(\"inflationRate\");\r\n\r\n  const yearsSlider =\r\n    document.getElementById(\"inflationYears\");\r\n\r\n  const returnSlider =\r\n    document.getElementById(\"investmentReturn\");\r\n\r\n\r\n  const amountDisplay =\r\n    document.getElementById(\"inflationAmountDisplay\");\r\n\r\n  const inflationDisplay =\r\n    document.getElementById(\"inflationRateDisplay\");\r\n\r\n  const yearsDisplay =\r\n    document.getElementById(\"inflationYearsDisplay\");\r\n\r\n  const returnDisplay =\r\n    document.getElementById(\"investmentReturnDisplay\");\r\n\r\n\r\n  const headingYears =\r\n    document.getElementById(\"headingYears\");\r\n\r\n  const todayAmountText =\r\n    document.getElementById(\"todayAmountText\");\r\n\r\n  const futureValueDisplay =\r\n    document.getElementById(\"futureValueDisplay\");\r\n\r\n  const purchasingPowerDisplay =\r\n    document.getElementById(\"purchasingPowerDisplay\");\r\n\r\n  const nominalValueDisplay =\r\n    document.getElementById(\"nominalValueDisplay\");\r\n\r\n  const realValueDisplay =\r\n    document.getElementById(\"realValueDisplay\");\r\n\r\n  const realReturnDisplay =\r\n    document.getElementById(\"realReturnDisplay\");\r\n\r\n\r\n  \/* ==========================================\r\n     INDIAN NUMBER FORMAT\r\n  ========================================== *\/\r\n\r\n  function indianNumber(value) {\r\n\r\n    return Math.round(value).toLocaleString(\"en-IN\");\r\n\r\n  }\r\n\r\n\r\n  \/* ==========================================\r\n     COMPACT RUPEE FORMAT\r\n\r\n     Examples:\r\n     100000  -> \u20b91.00 L\r\n     179085  -> \u20b91.79 L\r\n     44200   -> \u20b944.2K\r\n     311000  -> \u20b93.11 L\r\n  ========================================== *\/\r\n\r\n  function compactRupee(value, decimals) {\r\n\r\n    value = Number(value);\r\n\r\n    if (value >= 10000000) {\r\n\r\n      return \"\u20b9\" +\r\n        (value \/ 10000000)\r\n          .toFixed(decimals)\r\n          .replace(\/\\.?0+$\/, \"\") +\r\n        \" Cr\";\r\n\r\n    }\r\n\r\n    if (value >= 100000) {\r\n\r\n      return \"\u20b9\" +\r\n        (value \/ 100000)\r\n          .toFixed(decimals)\r\n          .replace(\/\\.?0+$\/, \"\") +\r\n        \" L\";\r\n\r\n    }\r\n\r\n    if (value >= 1000) {\r\n\r\n      return \"\u20b9\" +\r\n        (value \/ 1000)\r\n          .toFixed(decimals)\r\n          .replace(\/\\.?0+$\/, \"\") +\r\n        \"K\";\r\n\r\n    }\r\n\r\n    return \"\u20b9\" + indianNumber(value);\r\n\r\n  }\r\n\r\n\r\n  \/* ==========================================\r\n     AMOUNT DISPLAY\r\n\r\n     Always show 2 decimals for Lakhs,\r\n     matching screenshot.\r\n  ========================================== *\/\r\n\r\n  function amountWithTwoDecimals(value) {\r\n\r\n    if (value >= 10000000) {\r\n\r\n      return \"\u20b9\" +\r\n        (value \/ 10000000).toFixed(2) +\r\n        \" Cr\";\r\n\r\n    }\r\n\r\n    if (value >= 100000) {\r\n\r\n      return \"\u20b9\" +\r\n        (value \/ 100000).toFixed(2) +\r\n        \" L\";\r\n\r\n    }\r\n\r\n    if (value >= 1000) {\r\n\r\n      return \"\u20b9\" +\r\n        (value \/ 1000).toFixed(1) +\r\n        \"K\";\r\n\r\n    }\r\n\r\n    return \"\u20b9\" + indianNumber(value);\r\n\r\n  }\r\n\r\n\r\n  \/* ==========================================\r\n     SLIDER PROGRESS\r\n  ========================================== *\/\r\n\r\n  function updateProgress(slider) {\r\n\r\n    const min =\r\n      parseFloat(slider.min);\r\n\r\n    const max =\r\n      parseFloat(slider.max);\r\n\r\n    const value =\r\n      parseFloat(slider.value);\r\n\r\n    const progress =\r\n      ((value - min) \/ (max - min)) * 100;\r\n\r\n    slider.style.setProperty(\r\n      \"--progress\",\r\n      progress + \"%\"\r\n    );\r\n\r\n  }\r\n\r\n\r\n  \/* ==========================================\r\n     MAIN CALCULATION\r\n  ========================================== *\/\r\n\r\n  function calculateInflation() {\r\n\r\n    const todayValue =\r\n      parseFloat(amountSlider.value);\r\n\r\n    const inflationRate =\r\n      parseFloat(inflationSlider.value) \/ 100;\r\n\r\n    const years =\r\n      parseInt(yearsSlider.value);\r\n\r\n    const investmentReturn =\r\n      parseFloat(returnSlider.value) \/ 100;\r\n\r\n\r\n    \/* ------------------------------------------\r\n       FUTURE COST \/ VALUE\r\n\r\n       Amount needed in future to have\r\n       the same purchasing power:\r\n\r\n       Future Value =\r\n       Present Value \u00d7 (1 + inflation)^years\r\n    ------------------------------------------ *\/\r\n\r\n    const futureRequired =\r\n      todayValue *\r\n      Math.pow(\r\n        1 + inflationRate,\r\n        years\r\n      );\r\n\r\n\r\n    \/* ------------------------------------------\r\n       PURCHASING POWER LOST\r\n\r\n       Today's amount loses purchasing power\r\n       against inflation.\r\n\r\n       Real purchasing power =\r\n       Present Value \/ (1 + inflation)^years\r\n    ------------------------------------------ *\/\r\n\r\n    const remainingPurchasingPower =\r\n      todayValue \/\r\n      Math.pow(\r\n        1 + inflationRate,\r\n        years\r\n      );\r\n\r\n    const purchasingPowerLost =\r\n      todayValue -\r\n      remainingPurchasingPower;\r\n\r\n\r\n    \/* ------------------------------------------\r\n       NOMINAL INVESTMENT VALUE\r\n\r\n       Investment grows at expected return.\r\n    ------------------------------------------ *\/\r\n\r\n    const nominalInvestment =\r\n      todayValue *\r\n      Math.pow(\r\n        1 + investmentReturn,\r\n        years\r\n      );\r\n\r\n\r\n    \/* ------------------------------------------\r\n       REAL \/ INFLATION-ADJUSTED VALUE\r\n\r\n       Nominal investment value discounted\r\n       by inflation.\r\n    ------------------------------------------ *\/\r\n\r\n    const realInvestmentValue =\r\n      nominalInvestment \/\r\n      Math.pow(\r\n        1 + inflationRate,\r\n        years\r\n      );\r\n\r\n\r\n    \/* ------------------------------------------\r\n       REAL RETURN RATE\r\n\r\n       Fisher approximation:\r\n\r\n       (1 + nominal return)\r\n       -------------------- - 1\r\n       (1 + inflation)\r\n    ------------------------------------------ *\/\r\n\r\n    const realReturn =\r\n      (\r\n        (1 + investmentReturn) \/\r\n        (1 + inflationRate)\r\n      ) - 1;\r\n\r\n\r\n    \/* ==========================================\r\n       UPDATE LEFT SIDE\r\n    ========================================== *\/\r\n\r\n    amountDisplay.textContent =\r\n      amountWithTwoDecimals(todayValue);\r\n\r\n    inflationDisplay.textContent =\r\n      parseFloat(\r\n        inflationSlider.value\r\n      ).toFixed(1).replace(\".0\", \"\") +\r\n      \"% p.a.\";\r\n\r\n    yearsDisplay.textContent =\r\n      years +\r\n      (years === 1 ? \" year\" : \" years\");\r\n\r\n    returnDisplay.textContent =\r\n      parseFloat(\r\n        returnSlider.value\r\n      ).toFixed(1).replace(\".0\", \"\") +\r\n      \"% p.a.\";\r\n\r\n\r\n    \/* ==========================================\r\n       UPDATE RIGHT SIDE\r\n    ========================================== *\/\r\n\r\n    headingYears.textContent =\r\n      years +\r\n      (years === 1 ? \" YEAR\" : \" YEARS\");\r\n\r\n    todayAmountText.textContent =\r\n      amountWithTwoDecimals(todayValue);\r\n\r\n\r\n    futureValueDisplay.textContent =\r\n      amountWithTwoDecimals(futureRequired);\r\n\r\n\r\n    purchasingPowerDisplay.textContent =\r\n      compactRupee(\r\n        purchasingPowerLost,\r\n        1\r\n      );\r\n\r\n\r\n    nominalValueDisplay.textContent =\r\n      amountWithTwoDecimals(nominalInvestment);\r\n\r\n\r\n    realValueDisplay.textContent =\r\n      amountWithTwoDecimals(realInvestmentValue);\r\n\r\n\r\n    realReturnDisplay.textContent =\r\n      (realReturn * 100)\r\n        .toFixed(2) +\r\n      \"% p.a.\";\r\n\r\n\r\n    \/* ==========================================\r\n       SLIDER PROGRESS\r\n    ========================================== *\/\r\n\r\n    updateProgress(amountSlider);\r\n    updateProgress(inflationSlider);\r\n    updateProgress(yearsSlider);\r\n    updateProgress(returnSlider);\r\n\r\n  }\r\n\r\n\r\n  \/* ==========================================\r\n     EVENTS\r\n  ========================================== *\/\r\n\r\n  amountSlider.addEventListener(\r\n    \"input\",\r\n    calculateInflation\r\n  );\r\n\r\n  inflationSlider.addEventListener(\r\n    \"input\",\r\n    calculateInflation\r\n  );\r\n\r\n  yearsSlider.addEventListener(\r\n    \"input\",\r\n    calculateInflation\r\n  );\r\n\r\n  returnSlider.addEventListener(\r\n    \"input\",\r\n    calculateInflation\r\n  );\r\n\r\n\r\n  \/* ==========================================\r\n     INITIAL LOAD\r\n  ========================================== *\/\r\n\r\n  calculateInflation();\r\n\r\n})();\r\n\r\n<\/script>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>All calculators Planning \u00b7 Inflation Inflation Impact Calculator See how inflation erodes purchasing power over time and how much your investments must earn to stay ahead. Today\u2019s value \/ expense \u20b91.00 L \u20b910K \u20b91 Cr Inflation rate 6% p.a. 2% 12% Time horizon 10 years 1 yr 40 yrs Expected investment return 12% p.a. 5% [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-10903","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/demoweb.fourdotshr.com\/multi\/wp-json\/wp\/v2\/pages\/10903","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/demoweb.fourdotshr.com\/multi\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/demoweb.fourdotshr.com\/multi\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/demoweb.fourdotshr.com\/multi\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/demoweb.fourdotshr.com\/multi\/wp-json\/wp\/v2\/comments?post=10903"}],"version-history":[{"count":19,"href":"https:\/\/demoweb.fourdotshr.com\/multi\/wp-json\/wp\/v2\/pages\/10903\/revisions"}],"predecessor-version":[{"id":12450,"href":"https:\/\/demoweb.fourdotshr.com\/multi\/wp-json\/wp\/v2\/pages\/10903\/revisions\/12450"}],"wp:attachment":[{"href":"https:\/\/demoweb.fourdotshr.com\/multi\/wp-json\/wp\/v2\/media?parent=10903"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}