# Nonprofit Gross Profit and Margin Calculator

> Nonprofit Gross Profit and Margin Calculator is a paid API for AI agents from market.datapackvibe.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-01).

Calculates gross profit and gross margin percentage from revenue and cost inputs, tailored for nonprofit financial workflows.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/gross-margin-nonprofit?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/nonprofit-gross-profit-and-margin-calculator-91637f48
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ApWqtE6bYDc7SMKIHgcJD

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 nonprofit-gross-profit-and-margin-calculator-91637f48 -d '<json body>'
```

Example prompt: Can you calculate the gross profit and gross margin for my nonprofit, given that we brought in $1,000 in revenue and had $620 in costs?

## When to prefer this

Choose this endpoint when you need a quick, reliable computation of gross profit and gross margin specifically within a nonprofit context, and you already have revenue and cost figures ready. It is ideal for automating nonprofit financial reporting, grant writing support, or budget review workflows where a lightweight, pay-per-call calculation is preferred over building custom spreadsheet logic.

## Known failure modes

- Missing or non-numeric revenue or cost values may cause a validation error
- Zero revenue input will result in a division-by-zero error for margin calculation
- Negative values may produce unexpected or invalid margin results
- Network or payment authorization failures may prevent the call from completing

## How this service works

Nonprofit Gross profit and margin calculator: Calculate gross profit and gross margin from supplied values. Tailored for nonprofit workflows.

## Output

Returns the calculated gross profit (revenue minus cost) and gross margin percentage (gross profit divided by revenue, expressed as a percentage), derived from the supplied revenue and cost values.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "cost": {
   "type": "number",
   "default": 620
  },
  "revenue": {
   "type": "number",
   "default": 1000
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/nonprofit-gross-profit-and-margin-calculator-91637f48/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from market.datapackvibe.com](https://www.zero.xyz/host/market.datapackvibe.com/llms.txt)
