Elysia Tools Docs
EN
Language
ZHESPTRUFRDEEN
Back to site
Browse tools

Math & Numbers

Sound Pressure Level Converter (Pa / dB SPL re 20 µPa)

Convert sound pressure between linear units (Pa, µPa, µbar, mbar) and the decibel sound pressure level dB SPL (Lp = 20·log₁₀(p / 20 µPa), reference p₀ = 20 µPa = 2e-5 Pa RMS, per ISO 1683). Supports bidirectional linear↔logarithmic conversion. Calibration anchor: 1 Pa → 20·log₁₀(1/2e-5) ≈ 94 dB SPL. Reference values: threshold of hearing 20 µPa (0 dB), speech ≈ 0.02 Pa (60 dB), rock concert ≈ 20 Pa (120 dB), pain threshold ≈ 200 Pa (140 dB).

json· JSON resultOpen tool

Quick start

Call this tool from your code in three languages.

cURL
curl -X POST 'https://api.elysiatools.com/en/api/tools/sound-pressure-level-converter' \
  -H 'Content-Type: application/json' \
  -d '{"inputUnit":"Pa","value":1,"outputUnit":"dB SPL","decimalPlaces":2}'

API reference

Send a POST request with your inputs as JSON. File parameters require a separate upload first.

Endpoint

HTTP
POST https://api.elysiatools.com/en/api/tools/sound-pressure-level-converter

Parameters

NameTypeRequiredDescription
inputUnitselectNo—
valuenumberYesSound pressure in the selected Input unit. Must be non-negative (linear) or finite (dB).
outputUnitselectNo—
decimalPlacesnumberNo—

Response format

JSON result

JSON
{
  "key": {...},
  "metadata": {
    "key": "value"
  },
  "error": "Error message (optional)",
  "message": "Notification message (optional)"
}

MCP integration

Add this tool to your Model Context Protocol server so AI agents can list and call it.

Server configuration

Add this block to your MCP client configuration:

mcp.json
{
  "mcpServers": {
    "elysiatools-sound-pressure-level-converter": {
      "name": "sound-pressure-level-converter",
      "description": "Convert sound pressure between linear units (Pa, µPa, µbar, mbar) and the decibel sound pressure level dB SPL (Lp = 20·log₁₀(p / 20 µPa), reference p₀ = 20 µPa = 2e-5 Pa RMS, per ISO 1683). Supports bidirectional linear↔logarithmic conversion. Calibration anchor: 1 Pa → 20·log₁₀(1/2e-5) ≈ 94 dB SPL. Reference values: threshold of hearing 20 µPa (0 dB), speech ≈ 0.02 Pa (60 dB), rock concert ≈ 20 Pa (120 dB), pain threshold ≈ 200 Pa (140 dB).",
      "baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=sound-pressure-level-converter",
      "command": "",
      "args": [],
      "env": {},
      "isActive": true,
      "type": "sse"
    }
  }
}

List available tools

After connecting to the SSE endpoint, list the exposed tools:

tools/list
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/list"
}

Call this tool

Invoke the tool by its id, passing arguments built from its parameters:

tools/call
{
  "jsonrpc": "2.0",
  "id": 2,
  "method": "tools/call",
  "params": {
    "name": "sound-pressure-level-converter",
    "arguments": {
  "inputUnit": "Pa",
  "value": 1,
  "outputUnit": "dB SPL",
  "decimalPlaces": 2
}
  }
}
Browse toolsOpen tool

© 2026 Elysia Tools. Developer documentation.

Back to siteBrowse tools
Chain multiple tools in one session with a comma-separated toolId list, e.g. /mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp (max 20).

Questions or issues? Contact [email protected]