# Percent Increase/Decrease Calculator

> Percent Increase/Decrease Calculator is a paid API for AI agents from x402.forgemesh.io, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Calculates percent increase, percent decrease, percent change, or what percent one number is of another, returning exact results.

## Facts

- Endpoint: POST https://x402.forgemesh.io/percent-increase-decrease
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/percent-increase-decrease-calculator-bfb34ec0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Qq4z_ijw_EBL5JdFUGc1w

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability percent-increase-decrease-calculator-bfb34ec0 -d '<json body>'
```

Example prompt: What's the percent increase from 240 to 315? Use the 'increase' operation with a=240 and b=315.

## When to prefer this

Use this endpoint when you need exact, reliable percentage computations — particularly for sales price comparisons, budget variance tracking, discount calculations, or any before-and-after analysis where approximation is unacceptable. Prefer this over in-context LLM math for guaranteed precision.

## Known failure modes

- Missing or invalid 'a' or 'b' parameters — returns error
- Invalid 'operation' value not in the allowed enum (of, is_what_percent, change, increase, decrease) — returns error
- Division by zero if base value 'a' is zero for certain operations
- Non-numeric string values for 'a' or 'b' — parsing error

## How this service works

Calculate a percent increase or decrease applied to a number, or the percent change between an old and new value, with exact results every time. For sales and pricing agents, budget variance tracking, and any tool comparing before-and-after figures without approximation.

## Output

An exact numeric result representing the computed percentage — such as the percent increase, decrease, change, or the percentage that one value is of another — based on the operation and inputs provided.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "a": {
   "type": "string"
  },
  "b": {
   "type": "string"
  },
  "operation": {
   "type": "string",
   "description": "of | is_what_percent | change | increase | decrease"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": "25 %",
  "operation": "% change 80 → 100"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/percent-increase-decrease-calculator-bfb34ec0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.forgemesh.io](https://www.zero.xyz/host/x402.forgemesh.io/llms.txt)
