Elysia Tools Docs
EN
Language
ZHESPTRUFRDEEN
Back to site
Browse tools

Math & Numbers

Bulk Density & Porosity Calculator

Bulk density and porosity for granular or porous materials. Three-way solver: pick the unknown (ρ_bulk, m, or V) and supply the other two. ρ_bulk = m/V_bulk. Optionally enter the true particle density ρ_true to compute porosity ε = 1 − ρ_bulk/ρ_true, plus relative density against water. SI units (kg, m³, kg/m³).

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/bulk-density-calculator' \
  -H 'Content-Type: application/json' \
  -d '{"solveFor":"density","density":0,"mass":1.6,"volume":0.001,"trueDensity":2650,"decimalPlaces":4}'

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/bulk-density-calculator

Parameters

NameTypeRequiredDescription
solveForselectNo—
densitynumberNoBulk (apparent) density in kg/m³. Required when solving for mass or volume.
massnumberNoMass of the material in kg. Required when solving for density or volume.
volumenumberNoBulk volume (including voids) in m³. Required when solving for density or mass.
trueDensitynumberNo

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-bulk-density-calculator": {
      "name": "bulk-density-calculator",
      "description": "Bulk density and porosity for granular or porous materials. Three-way solver: pick the unknown (ρ_bulk, m, or V) and supply the other two. ρ_bulk = m/V_bulk. Optionally enter the true particle density ρ_true to compute porosity ε = 1 − ρ_bulk/ρ_true, plus relative density against water. SI units (kg, m³, kg/m³).",
      "baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=bulk-density-calculator",
      "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": "bulk-density-calculator",
    "arguments": {
  "solveFor": "density",
  "density": 0,
  "mass": 1.6,
  "volume": 0.001,
  "trueDensity": 2650,
  "decimalPlaces": 4
}
  }
}
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).
Browse toolsOpen tool

© 2026 Elysia Tools. Developer documentation.

Back to siteBrowse tools
True (particle) density of the solid material itself, no pores. Optional — when given, porosity ε = 1 − ρ_bulk/ρ_true is reported. Quartz ≈ 2650, steel ≈ 7850 kg/m³.
decimalPlacesnumberNo—

Response format

JSON result

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

Questions or issues? Contact [email protected]