# Audio Calc – PCM Bit Depth Calculator

> Audio Calc – PCM Bit Depth Calculator is a paid API for AI agents from audio-calc.x402tookit.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-11-02).

Calculates dynamic range, quantization levels, LSB step size, theoretical SNR, and required bit depth for a given PCM bit depth or dB range

## Facts

- Endpoint: GET https://audio-calc.x402tookit.com/bit-depth?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/audio-calc-pcm-bit-depth-calculator-f5377aad
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_RiRd8EBtGCkHueraM5Dto

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 audio-calc-pcm-bit-depth-calculator-f5377aad
```

Example prompt: What's the dynamic range, number of quantization levels, theoretical SNR, and LSB step size in dBFS for 24-bit PCM audio?

## When to prefer this

Use this endpoint when you need precise, formula-based PCM audio bit depth calculations — dynamic range, SNR, quantization levels, LSB step size, or required bit depth for a given dB target. It is purpose-built for audio engineering and digital audio workstation (DAW) contexts, returning all standard metrics in a single call. Prefer it over general-purpose math tools when the domain is specifically PCM audio bit depth.

## Known failure modes

- Missing both 'bits' and 'dynamicRangeDb' parameters — endpoint needs at least one
- Bit depth out of range (must be 1–64) — returns error or empty result
- Non-integer value supplied for 'bits' parameter
- Network or payment failure (x402 payment required at $0.02 USDC per call)

## How this service works

Dynamic range, levels and smallest step for a PCM bit depth, theoretical SNR, and the bit depth needed for a dB range.

## Output

Returns a JSON object with: number of quantization levels, dynamic range in dB, dB per bit, LSB size in dBFS and optionally in volts, signed min/max integer values, theoretical SNR for a full-scale sine wave, and (if dB range was the input) the exact and rounded-up bit depth needed. Also includes a summary string and any disclaimers.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "bits": {
       "type": "integer",
       "description": "Bit depth, 1 to 64 (use this, or dynamicRangeDb)"
      },
      "dynamicRangeDb": {
       "type": "number",
       "description": "A dynamic range in dB to convert to the bits needed"
      },
      "fullScaleVolts": {
       "type": "number",
       "description": "Peak voltage at full scale, to give the LSB size in volts (default 1)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "asOf": {
       "type": [
        "null",
        "string"
       ]
      },
      "bits": {
       "type": [
        "null",
        "number"
       ]
      },
      "levels": {
       "type": [
        "null",
        "number"
       ]
      },
      "source": {
       "type": [
        "null",
        "string"
       ]
      },
      "lsbDbfs": {
       "type": [
        "null",
        "number"
       ]
      },
      "reasons": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "summary": {
       "type": [
        "null",
        "string"
       ]
      },
      "verdict": {
       "type": [
        "null",
        "string"
       ]
      },
      "dbPerBit": {
       "type": [
        "null",
        "number"
       ]
      },
      "degraded": {
       "type": [
        "boolean",
        "null"
       ]
      },
      "lsbVolts": {
       "type": [
        "null",
        "number"
       ]
      },
      "signedMax": {
       "type": [
        "null",
        "number"
       ]
      },
      "signedMin": {
       "type": [
        "null",
        "number"
       ]
      },
      "disclaimer": {
       "type": [
        "null",
        "string"
       ]
      },
      "notChecked": {
       "type": [
        "array",
        "null"
       ],
       "items": {
       
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/audio-calc-pcm-bit-depth-calculator-f5377aad/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from audio-calc.x402tookit.com](https://www.zero.xyz/host/audio-calc.x402tookit.com/llms.txt)
