Compound Interest Calculator
Note: This GIF shows how to copy snippets to your dashboard so that you can use them and customize them to fit your needs.
Compound Interest is interest that you earn on interest. Meaning that the amount of interest added onto the initial value increases over time.
The formula for Compound Interest is P(1+r/n)^nt.
P = Initial principal amount
r = Interest rate
n = Number of times interest applied per time period
t = Time periods
Compound Interest Calculator
Compound Interest Calculator
Initial principal value = {formtext: name=P; cols=5; default=10000}
Interest rate = {formtext: name=r; default=0.2; cols=5}
Number of times interest applied per time period = {formtext: name=n; default=1; cols=5}
Number of time periods elapsed = {formtext: name=t; default=10; cols=5}
{if: isnumber(P) and isnumber(r) and isnumber(n) and isnumber(t)}
Final amount = {=P * (1 + r/n)^(n * t); format=$,.2f}
{else}
{error: please enter valid charaters in the text fields above.}
{endif}
{image: https://quickchart.io/chart/chart?&bkg=transparent&c={ type: 'bar', data: { labels: {=seq({time:YYYY} + 1, {time:YYYY} + t)}, datasets: [ { label: 'Dataset 1', data: [{=join([P * (1 + r/n)^(n*x) for x in {=seq(1, t)}], ",")}, 0], } ], }, options: { legend: { display: false, }, scales: { xAxes: [{ display: true, gridLines: {display: false,}}], }, }, }}
{image: https://quickchart.io/chart/chart?&bkg=transparent&c={ type: 'bar', data: { labels: {=seq({time:YYYY} + 1, {time:YYYY} + t)}, datasets: [ { label: 'Dataset 1', data: [{=join([P * (1 + r/n)^(n*x) for x in {=seq(1, t)}], ",")}, 0], } ], }, options: { legend: { display: false, }, scales: { xAxes: [{ display: true, gridLines: {display: false,}}], }, }, }}
_
Want to boost your productivity and automate repetitive typing for free?
Join over 500,000+ who are using Text Blaze templates.