A free edge API by formatho.com, privacy-first tools.
Free, no signup, runs entirely in your browser — your data never leaves your device.
# What is 15% of 200?
curl "https://percentage-calculator-formatho.filesformatho.workers.dev/api?x=15&y=200"
# 30 is what percent of 200?
curl "https://percentage-calculator-formatho.filesformatho.workers.dev/api?x=30&y=200&action=isWhatPercent"
# Percentage change from 150 to 180
curl "https://percentage-calculator-formatho.filesformatho.workers.dev/api?from=150&to=180"
Three actions in one endpoint: percentOf (X% of Y), isWhatPercent (X is what % of Y) and percentChange (percentage increase/decrease from → to). Without action, both X/Y actions are computed together.
Full parameter reference: /api endpoint.
Calculate percentages entirely client-side: Percentage Calculator on formatho.com.
Browse every free Formatho Worker tool on the Formatho Tools index.