{"id":"d770008f-7595-4f78-87c9-2752617b57bd","url":"https://calc.so/c/rate-shock","jsonUrl":"https://calc.so/c/rate-shock.json","title":"Rate Shock","question":"Make a mortgage calc for 3% vs 7%","sentence":"On a [loan_amount] mortgage over [years] years, going from a [rate_low] rate to a [rate_high] rate adds [result] to your monthly payment.","inputs":[{"name":"loan_amount","label":"$400,000","type":"currency","value":400000,"display":"$400,000","editable":true},{"name":"years","label":"30","type":"number","value":30,"display":"30","editable":true},{"name":"rate_low","label":"3%","type":"percent","value":3,"display":"3%","editable":true},{"name":"rate_high","label":"7%","type":"percent","value":7,"display":"7%","editable":true}],"fixedFacts":[],"formula":"((loan_amount*(rate_high/100/12)*Math.pow(1+rate_high/100/12, years*12))/(Math.pow(1+rate_high/100/12, years*12)-1)) - ((loan_amount*(rate_low/100/12)*Math.pow(1+rate_low/100/12, years*12))/(Math.pow(1+rate_low/100/12, years*12)-1))","results":[],"result":974.7938457989051,"resultDisplay":"$975","resultFormat":{"type":"currency","unit":null},"sources":[],"assumptions":[],"dataNote":null,"confidence":null,"creator":{"handle":null},"lineage":{"parentCalcId":null,"rootCalcId":"d770008f-7595-4f78-87c9-2752617b57bd","forkedAt":null,"sourceVersionId":null,"remixCount":0,"changes":null},"stats":{"calcCount":0,"viewCount":3,"remixCount":0},"meta":{},"createdAt":"2026-08-26T02:23:04.565584+00:00","updatedAt":"2026-11-16T20:50:16.301574+00:00","version":1,"specVersion":1}