{"uid":"cap_tv-RlpdadCoEyTNogQkY7","slug":"percent-of-calculator-d814b5f8","name":"Percent-Of Calculator","description":"Percentage math calculator: find what X% of Y is, what percent one number is of another, or the percent change between two values. Built for pricing markups, discount math, grading, tipping, and reporting agents that need the exact figure instead of mental-math rounding errors.","url":"https://x402.forgemesh.io/percent-of-calculator","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"a":{"type":"string"},"b":{"type":"string"},"operation":{"type":"string","description":"of | is_what_percent | change | increase | decrease"}}},"responseSchema":{"type":"json","example":{"result":"25 %","operation":"% change 80 → 100"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_IW-qfrHX9lQudxp-WNgGC","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Performs percentage math: calculates X% of Y, what percent one number is of another, or percent change between two values.","exampleAgentPrompt":"What is 18% of $74.50 — use the percent-of calculator with the 'of' operation so I get the exact tip amount without rounding errors.","exampleUseCases":null,"resultDescription":"Returns the precise numerical result of the requested percentage operation — e.g. the value of X% of Y, the percent that A is of B, or the percent change/increase/decrease between two numbers.","failureModes":["Missing required fields a or b returns an error","Invalid or unrecognized operation string returns an error","Non-numeric strings passed as a or b cause a parsing error","Division-by-zero scenario (e.g. is_what_percent with b=0) returns an error","Payment failure or insufficient USDC balance blocks the request"],"whenToPreferThis":"Use this endpoint when an agent needs exact, error-free percentage arithmetic — such as computing discounts, markups, tips, grade percentages, or reporting growth rates — instead of relying on LLM mental math which is prone to rounding errors. Especially useful in pricing, financial, or grading workflows where precision matters.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T12:50:07.424Z","isFirstParty":false}