Math & Numbers
Linear and volumetric thermal expansion of an isotropic material. Linear: ΔL = α·L₀·ΔT, L₁ = L₀·(1+α·ΔT). Volumetric: ΔV = 3α·V₀·ΔT (β = 3α for isotropic solids). Built-in typical α for carbon/alloy steel, aluminum, copper, austenitic stainless, titanium and glass, plus custom. ΔT in K or °C, length in mm, volume in mm³.
Call this tool from your code in three languages.
curl -X POST 'https://api.elysiatools.com/en/api/tools/thermal-expansion-calculator' \
-H 'Content-Type: application/json' \
-d '{"mode":"linear","material":"carbonSteel","customAlpha":0,"length":1000,"volume":0,"deltaT":100,"decimalPlaces":4}'Send a POST request with your inputs as JSON. File parameters require a separate upload first.
POST https://api.elysiatools.com/en/api/tools/thermal-expansion-calculator| Name | Type | Required | Description |
|---|---|---|---|
| mode | select | No | — |
| material | select | No | Material preset supplies typical linear expansion coefficient α. Choose 'Custom' to enter α. |
| customAlpha | number | No | Linear thermal expansion coefficient α in 1/K. Required only when Material is 'Custom'. Typical: steel ≈ 12e-6, aluminum ≈ 23e-6. |
| length | number | No | Original (unstressed) length in mm. Required in 'linear' mode. |
| volume | number |
Add this tool to your Model Context Protocol server so AI agents can list and call it.
Add this block to your MCP client configuration:
{
"mcpServers": {
"elysiatools-thermal-expansion-calculator": {
"name": "thermal-expansion-calculator",
"description": "Linear and volumetric thermal expansion of an isotropic material. Linear: ΔL = α·L₀·ΔT, L₁ = L₀·(1+α·ΔT). Volumetric: ΔV = 3α·V₀·ΔT (β = 3α for isotropic solids). Built-in typical α for carbon/alloy steel, aluminum, copper, austenitic stainless, titanium and glass, plus custom. ΔT in K or °C, length in mm, volume in mm³.",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=thermal-expansion-calculator",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}After connecting to the SSE endpoint, list the exposed tools:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Invoke the tool by its id, passing arguments built from its parameters:
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "thermal-expansion-calculator",
"arguments": {
"mode": "linear",
"material": "carbonSteel",
"customAlpha": 0,
"length": 1000,
"volume": 0,
"deltaT": 100,
"decimalPlaces": 4
}
}
}| Original (unstressed) volume in mm³. Required in 'volumetric' mode. |
| deltaT | number | Yes | Temperature change ΔT in K or °C (same magnitude). Positive = heating (expansion), negative = cooling (contraction). |
| decimalPlaces | number | No | — |
JSON result
{
"key": {...},
"metadata": {
"key": "value"
},
"error": "Error message (optional)",
"message": "Notification message (optional)"
}Questions or issues? Contact [email protected]