{"data":{"slug":"fondskosten","title":"Investment fee calculator","description":"What ongoing costs take from your wealth over the years.","endpoint":"/api/v1/public/calculators/fondskosten","methodology":"https://investboard.com/calculators/api/methodology#calculator-fondskosten","inputSchema":{"type":"object","properties":{"initialAmount":{"type":"number","minimum":0,"maximum":100000000,"default":10000,"description":"EUR, numeric JSON value (not cents or a formatted string)."},"monthlyContribution":{"type":"number","minimum":0,"maximum":100000000,"default":300,"description":"EUR, numeric JSON value (not cents or a formatted string)."},"years":{"type":"integer","minimum":1,"maximum":50,"default":20},"annualReturnPct":{"type":"number","minimum":0,"maximum":15,"default":7,"description":"Yearly return before costs, percentage points: 7 means 7%."},"annualCostPct":{"type":"number","minimum":0,"maximum":5,"default":1.5,"description":"Your yearly cost rate, percentage points, 0 to 5."},"comparisonCostPct":{"type":"number","minimum":0,"maximum":5,"default":0.2,"description":"The cost rate to compare against, percentage points, 0 to 5."},"currency":{"type":"string","enum":["EUR","USD","GBP","CHF","PLN","CZK"],"default":"EUR","description":"Unit of every amount in the inputs and the result. The math is the same in every currency; German tax requires EUR."}},"additionalProperties":false},"resultSchema":{"type":"object","properties":{"yours":{"type":"object","properties":{"finalValue":{"type":"number","description":"In the inputs' currency, not cents."},"contributions":{"type":"number","description":"Initial amount plus every monthly contribution."},"feesPaid":{"type":"number","description":"In the inputs' currency, not cents."},"yearly":{"type":"array","items":{"type":"object","properties":{"year":{"type":"integer","minimum":0,"description":"Year index from the start of the projection."},"value":{"type":"number","description":"In the inputs' currency, not cents."}},"required":["year","value"],"additionalProperties":false},"description":"Year 0 (the initial amount) to the final year."}},"required":["finalValue","contributions","feesPaid","yearly"],"additionalProperties":false},"comparison":{"type":"object","properties":{"finalValue":{"type":"number","description":"In the inputs' currency, not cents."},"contributions":{"type":"number","description":"Initial amount plus every monthly contribution."},"feesPaid":{"type":"number","description":"In the inputs' currency, not cents."},"yearly":{"type":"array","items":{"type":"object","properties":{"year":{"type":"integer","minimum":0,"description":"Year index from the start of the projection."},"value":{"type":"number","description":"In the inputs' currency, not cents."}},"required":["year","value"],"additionalProperties":false},"description":"Year 0 (the initial amount) to the final year."}},"required":["finalValue","contributions","feesPaid","yearly"],"additionalProperties":false},"difference":{"type":"number","description":"comparison.finalValue - yours.finalValue: positive when your cost rate is the higher one."},"shareOfFinalValue":{"type":"number","description":"The difference as a share of the larger final value: 0.152 means 15.2%."}},"required":["yours","comparison","difference","shareOfFinalValue"],"additionalProperties":false},"operationId":"calculateFondskosten","example":{"inputs":{"initialAmount":10000,"monthlyContribution":300,"years":20,"annualReturnPct":7,"annualCostPct":1.5,"comparisonCostPct":0.2,"currency":"EUR"},"locale":"en"}},"error":null,"meta":{}}