How We Build Calculators
CryptoCalk calculators are deterministic tools: outputs are generated from explicit formulas plus user input values. This page outlines our methodology, data inputs, and limitations.
1. Core Approach
- Define domain formula (profit, ROI, liquidation, compounding, etc.).
- Normalise all inputs into consistent units.
- Compute outputs client-side in real time.
- Display key assumptions next to results.
2. Data Sources
Live prices are primarily sourced from CoinGecko API endpoints. For stability and speed, client requests are cached and deduplicated in-browser.
3. Formula Families
Profit and ROI
Used in Profit Calculator, ROI Calculator, and related tools:
- Profit = Exit Value - Entry Value - Fees
- ROI (%) = Profit / Total Cost × 100
DCA and Historical Scenarios
Used in DCA Calculator and What If Calculator:
- Periodic buys are simulated over selected date ranges.
- Average buy price and current valuation are derived from aggregated purchase points.
Risk and Margin Tools
Used in Position Size, Liquidation, and Margin:
- Risk-per-trade values are mapped to stop distance and account size.
- Leverage and maintenance constraints are modelled with exchange-style logic where applicable.
4. Validation Workflow
- Known-value tests against manual spreadsheet calculations.
- Edge-case checks: zero values, negative outcomes, extreme percentages.
- UI validation for input bounds and formatting.
- Build-time verification before publishing.
5. Known Limitations
- Exchange execution differs from theoretical values (slippage, spread, funding timing).
- Tax treatment can vary by jurisdiction and account structure.
- Market conditions can change faster than API refresh cadence.
6. How to Use Outputs Correctly
Treat calculator outputs as planning estimates, not guarantees. For robust decisions, cross-check with at least one supporting tool (for example: profit + tax, or position size + liquidation).