{"id":3200,"date":"2026-05-09T12:33:39","date_gmt":"2026-05-09T10:33:39","guid":{"rendered":"https:\/\/nature-o.net\/?page_id=3200"},"modified":"2026-05-09T12:34:06","modified_gmt":"2026-05-09T10:34:06","slug":"earthquake-energy-calculator","status":"publish","type":"page","link":"https:\/\/nature-o.net\/?page_id=3200","title":{"rendered":"Earthquake Energy Calculator"},"content":{"rendered":"\n<div class=\"eco-tool wp-block-group\" id=\"eco-tool-earthquake-energy-6fb2a\">\n  <div class=\"eco-tool__header\">\n    <h2 class=\"eco-tool__title\">Earthquake Energy Calculator<\/h2>\n    <p class=\"eco-tool__lead\">\n      Estimate the energy released by an earthquake based on magnitude.\n    <\/p>\n  <\/div>\n\n  <form class=\"eco-tool__form\" id=\"eco-quake-form-6fb2a\" novalidate>\n    <div class=\"eco-tool__grid3\">\n\n      <div class=\"eco-tool__field\">\n        <label class=\"eco-tool__label\">Earthquake magnitude<br>(Richter scale)<\/label>\n        <input class=\"eco-tool__input\" id=\"magnitude-6fb2a\" type=\"number\" step=\"0.1\" value=\"6.5\">\n        <div class=\"eco-tool__hint\">Typical earthquakes range from 1 to 9+<\/div>\n      <\/div>\n\n      <div class=\"eco-tool__field\">\n        <label class=\"eco-tool__label\">Main result<br>view<\/label>\n        <select class=\"eco-tool__input\" id=\"view-6fb2a\">\n          <option value=\"joules\">Energy in joules<\/option>\n          <option value=\"tons\">TNT equivalent<\/option>\n        <\/select>\n        <div class=\"eco-tool__hint\">Choose output format<\/div>\n      <\/div>\n\n    <\/div>\n\n    <div class=\"eco-tool__actions\">\n      <button type=\"button\" class=\"wp-element-button eco-tool__btn\" onclick=\"calc6fb2a()\">Calculate<\/button>\n      <button type=\"button\" class=\"wp-element-button eco-tool__btn eco-tool__btn--ghost\" onclick=\"reset6fb2a()\">Reset<\/button>\n    <\/div>\n  <\/form>\n\n  <div class=\"eco-tool__result\" id=\"res-6fb2a\" hidden>\n    <div class=\"eco-tool__cards\">\n\n      <div class=\"eco-tool__card\">\n        <div class=\"eco-tool__metric-label\">Estimated energy<\/div>\n        <div class=\"eco-tool__metric-value\" id=\"energy-6fb2a\"><\/div>\n      <\/div>\n\n      <div class=\"eco-tool__card\">\n        <div class=\"eco-tool__metric-label\">Relative comparison<\/div>\n        <div class=\"eco-tool__metric-value\" id=\"compare-6fb2a\"><\/div>\n      <\/div>\n\n    <\/div>\n  <\/div>\n<\/div>\n\n<style>\n.eco-tool{\n  border: 1px solid rgba(0,0,0,.12);\n  border-radius: 12px;\n  padding: 16px;\n}\n.eco-tool__header{ margin-bottom: 12px; }\n.eco-tool__title{ margin: 0 0 8px; }\n.eco-tool__lead{ margin: 0; opacity: .9; }\n.eco-tool__form{ margin-top: 12px; }\n\n.eco-tool__grid3{\n  display: grid;\n  grid-template-columns: 1fr;\n  gap: 16px;\n}\n@media (min-width: 860px){\n  .eco-tool__grid3{ grid-template-columns: 1fr 1fr 1fr; }\n}\n\n.eco-tool__field{\n  display: flex;\n  flex-direction: column;\n  gap: 6px;\n}\n.eco-tool__label{\n  font-weight: 600;\n}\n.eco-tool__input{\n  width: 100%;\n  height: 44px;\n  padding: 0 12px;\n  border: 1px solid rgba(0,0,0,.20);\n  border-radius: 10px;\n  background: #fff;\n  box-sizing: border-box;\n  font: inherit;\n}\n.eco-tool select.eco-tool__input{\n  appearance: none;\n  -webkit-appearance: none;\n  line-height: 44px;\n  padding-right: 40px;\n  background-image:\n    linear-gradient(45deg, transparent 50%, rgba(0,0,0,.60) 50%),\n    linear-gradient(135deg, rgba(0,0,0,.60) 50%, transparent 50%);\n  background-position:\n    calc(100% - 18px) 50%,\n    calc(100% - 12px) 50%;\n  background-size: 6px 6px;\n  background-repeat: no-repeat;\n}\n.eco-tool__hint{\n  font-size: .92em;\n  opacity: .78;\n  min-height: 38px;\n}\n.eco-tool__actions{\n  display: flex;\n  flex-wrap: wrap;\n  gap: 10px;\n  align-items: center;\n  margin-top: 16px;\n}\n.eco-tool__btn{\n  padding: 10px 22px;\n}\n.eco-tool__btn--ghost{\n  background: transparent !important;\n  border: 1px solid rgba(0,0,0,.20) !important;\n}\n.eco-tool__btn--ghost:hover,\n.eco-tool__btn--ghost:focus{\n  background: rgba(0,0,0,.06) !important;\n  border-color: rgba(0,0,0,.35) !important;\n}\n.eco-tool__error{\n  min-height: 1.2em;\n  font-weight: 600;\n  flex: 1 1 240px;\n}\n.eco-tool__result{ margin-top: 16px; }\n.eco-tool__subtitle{ margin: 0 0 10px; }\n.eco-tool__cards{\n  display: grid;\n  gap: 10px;\n  grid-template-columns: 1fr;\n}\n@media (min-width: 860px){\n  .eco-tool__cards{ grid-template-columns: 1fr 1fr; }\n}\n.eco-tool__card{\n  border: 1px solid rgba(0,0,0,.12);\n  border-radius: 12px;\n  padding: 12px;\n}\n.eco-tool__card--wide{\n  margin-top: 10px;\n}\n.eco-tool__metric-label{ opacity: .85; font-weight: 600; }\n.eco-tool__metric-value{ font-size: 1.6em; font-weight: 800; margin-top: 6px; line-height: 1.1; }\n.eco-tool__metric-sub{ opacity: .85; margin-top: 6px; }\n\n.eco-tool__bars{\n  display: grid;\n  gap: 10px;\n  margin-top: 12px;\n}\n.eco-tool__barrow{\n  display: grid;\n  grid-template-columns: 140px 1fr 90px;\n  gap: 10px;\n  align-items: center;\n}\n@media (max-width: 480px){\n  .eco-tool__barrow{ grid-template-columns: 110px 1fr 70px; }\n}\n.eco-tool__barlabel{ font-weight: 600; opacity: .9; }\n.eco-tool__bartrack{\n  border: 1px solid rgba(0,0,0,.12);\n  border-radius: 999px;\n  height: 12px;\n  overflow: hidden;\n  background: rgba(0,0,0,.03);\n}\n.eco-tool__barfill{\n  height: 100%;\n  width: 0%;\n  background: rgba(0,0,0,.25);\n}\n.eco-tool__barval{ text-align: right; opacity: .85; white-space: nowrap; }\n\n.eco-tool__note{ margin: 10px 0 0; opacity: .9; }\n.eco-tool__muted{ opacity: .8; }\n.eco-tool__details{ margin-top: 14px; }\n.eco-tool__summary{ cursor: pointer; font-weight: 700; }\n.eco-tool__details-body{ margin-top: 10px; }\n.eco-tool__text{ margin: 0 0 10px; }\n.eco-tool__list{ margin: 0; padding-left: 18px; }\n<\/style>\n\n\n<script>\nfunction calc6fb2a(){\n\n  let m=+document.getElementById('magnitude-6fb2a').value;\n  let view=document.getElementById('view-6fb2a').value;\n\n  if(m<=0)return;\n\n  let joules=Math.pow(10,(1.5*m+4.8));\n  let tons=joules\/4.184e9;\n\n  document.getElementById('energy-6fb2a').innerText=\n    view===\"tons\"\n    ? tons.toExponential(2)+\" tons TNT\"\n    : joules.toExponential(2)+\" J\";\n\n  document.getElementById('compare-6fb2a').innerText=\n    (Math.pow(32,m-1)).toLocaleString(undefined,{maximumFractionDigits:0})+\n    \"\u00d7 stronger than magnitude 1\";\n\n  document.getElementById('res-6fb2a').hidden=false;\n}\n\nfunction reset6fb2a(){\n  document.getElementById('res-6fb2a').hidden=true;\n}\n<\/script>\n","protected":false},"excerpt":{"rendered":"<p>Earthquake Energy Calculator Estimate the energy released by an earthquake based on magnitude. Earthquake magnitude(Richter scale) Typical earthquakes range from 1 to 9+ Main resultview Energy in joulesTNT equivalent Choose&hellip;<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":2432,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_sitemap_exclude":false,"_sitemap_priority":"","_sitemap_frequency":"","footnotes":""},"_links":{"self":[{"href":"https:\/\/nature-o.net\/index.php?rest_route=\/wp\/v2\/pages\/3200"}],"collection":[{"href":"https:\/\/nature-o.net\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/nature-o.net\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/nature-o.net\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/nature-o.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3200"}],"version-history":[{"count":2,"href":"https:\/\/nature-o.net\/index.php?rest_route=\/wp\/v2\/pages\/3200\/revisions"}],"predecessor-version":[{"id":3202,"href":"https:\/\/nature-o.net\/index.php?rest_route=\/wp\/v2\/pages\/3200\/revisions\/3202"}],"up":[{"embeddable":true,"href":"https:\/\/nature-o.net\/index.php?rest_route=\/wp\/v2\/pages\/2432"}],"wp:attachment":[{"href":"https:\/\/nature-o.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3200"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}