# APR calculator > How much does your loan really cost per year? Turn the interest rate and the fees of a loan into one annual percentage rate (APR) by the EU formula. Calculate the annual percentage rate of charge (APR) of a loan from its interest rate, term and fees, by the EU consumer credit formula, with the total cost. - Page: https://how.box/apr/ - Runs entirely in the browser. - License: HowToolbox's own text and data (titles, explanations, FAQs, tool descriptions and schemas, this file) are CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/); AI training and answers are welcome. Attribute "HowToolbox (how.box)" with a link to the page used. Third-party data keeps its own terms; the name and logo are not licensed. Publisher: HowToolbox, contact@how.box. Terms: https://how.box/about/terms/ ## Inputs Answer link: https://how.box/apr/?a={a}&r={r}&n={n}&sf={sf}&mf={mf}&c={c} - `a` (number 0 to 1e7): Credit amount. Example: `5000`. - `r` (number 0 to 100): Nominal annual rate. Example: `9`. - `n` (whole number 1 to 600): Monthly instalments. Example: `36`. - `sf` (number 0 to 1e7): One-off fee at payout. Example: `100`. - `mf` (number 0 to 1e7): Fee with every instalment. Example: `5`. - `c` (AED, AFN, ALL, AMD, ANG, AOA, ARS, AUD, AWG, AZN, BAM, BBD, BDT, BGN, BHD, BIF, BMD, BND, BOB, BRL, BSD, BTN, BWP, BYN, BZD, CAD, CDF, CHF, CLF, CLP, CNY, COP, CRC, CUC, CUP, CVE, CZK, DJF, DKK, DOP, DZD, EGP, ERN, ETB, EUR, FJD, FKP, GBP, GEL, GHS, GIP, GMD, GNF, GTQ, GYD, HKD, HNL, HRK, HTG, HUF, IDR, ILS, INR, IQD, IRR, ISK, JMD, JOD, JPY, KES, KGS, KHR, KMF, KPW, KRW, KWD, KYD, KZT, LAK, LBP, LKR, LRD, LSL, LYD, MAD, MDL, MGA, MKD, MMK, MNT, MOP, MRU, MUR, MVR, MWK, MXN, MYR, MZN, NAD, NGN, NIO, NOK, NPR, NZD, OMR, PAB, PEN, PGK, PHP, PKR, PLN, PYG, QAR, RON, RSD, RUB, RWF, SAR, SBD, SCR, SDG, SEK, SGD, SHP, SLE, SLL, SOS, SRD, SSP, STN, SVC, SYP, SZL, THB, TJS, TMT, TND, TOP, TRY, TTD, TWD, TZS, UAH, UGX, USD, UYU, UYW, UZS, VES, VND, VUV, WST, XAF, XCD, XCG, XDR, XOF, XPF, XSU, YER, ZAR, ZMW, ZWG or ZWL): Display currency. Example: `EUR`. Example answer: https://how.box/apr/?a=5000&r=9&n=36&sf=100&mf=5&c=EUR A complete link carries the primary answer in the page HTML; a missing or invalid value shows the default page. ## Agent tools - `apr_calculate`: Annual percentage rate of charge (APR) of an instalment credit by the EU consumer credit formula (Directive 2023/2225 Annex III): the rate X where the amount paid out equals the instalments and fees discounted at (1 + X)^−t, t in years of 12 equal months. - MCP, one POST to https://how.box/mcp: `{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"apr_calculate","arguments":{"amount":5000,"rate_percent":9,"term_months":36,"setup_fee":100,"monthly_fee":5,"currency":"EUR"}}}` - GET: https://how.box/mcp/run/apr_calculate?amount=5000&rate_percent=9&term_months=36&setup_fee=100&monthly_fee=5¤cy=EUR ## How it works The interest rate tells only part of what a loan costs: fees add to it, and so does interest compounding month by month. The annual percentage rate of charge (APR) puts everything into one yearly rate, so offers with different rates and fees can be compared. The APR is the rate X at which the money you receive equals everything you pay, each discounted to the payout: Σ C (1 + X)^−t = Σ D (1 + X)^−s, where C is the credit paid out, D each instalment and fee, and t and s their times in years. This is the formula of the EU Consumer Credit Directive (Annex III of Directive 2023/2225, as in the earlier Directive 2008/48/EC), which Finland applies by Ministry of Justice decree 1123/2016. A month is a twelfth of a year, and the result is given to one decimal. The calculation assumes a fixed rate, equal instalments and the fees entered here. A lender must include every compulsory cost, such as required insurance, so its stated APR is the binding one. ## FAQ **Why is the APR higher than the interest rate?** Monthly interest compounds over the year, and fees are part of the cost. Even without fees, 12 % a year charged monthly is 12.7 % a year. **Why do short loans with a fee have such a high APR?** A fixed fee over a few months is a large cost for a short time, and the APR expresses it per year. That is why small, short loans often show APRs in the tens or hundreds of per cent. **Should I compare the APR or the total cost?** Both. The APR compares offers of different lengths and fees fairly; the total cost tells how much the loan costs you in money. **Can I include an upfront fee?** Yes. Enter it as the setup fee, separate from the monthly fee. It reduces the money available at the start. **Does this handle irregular payment dates?** No. Payments are one equal month apart, with the first payment one month after the loan starts. More: [HowToolbox index](https://how.box/llms.txt) · [Agent Skill](https://how.box/skill.md) · [agent terms](https://how.box/about/agents/)