🥤Volume Converter
Convert cooking and liquid volume units: milliliters, liters, cubic meters, US gallons, quarts, pints, cups, fluid ounces, tablespoons and teaspoons.
Worked examples
1 Cubic meters in Liters
GET /api/v1/converters/volume-converter?value=1&from=m3&to=L
Result: 1,000 L
100 Cubic meters in Liters
GET /api/v1/converters/volume-converter?value=100&from=m3&to=L
Result: 100,000 L
5 Liters in Cubic meters
GET /api/v1/converters/volume-converter?value=5&from=L&to=m3
Result: 0.005 m³
2 Cubic meters in Milliliters
GET /api/v1/converters/volume-converter?value=2&from=m3&to=ml
Result: 2,000,000 mL
Machine API (x402)
$0.001 / callThis tool is also a JSON API for AI agents. Requests without payment receive 402 Payment Required plus instructions; agents pay USDC on Base via the x402 protocol — no accounts, no API keys.
GET /api/v1/converters/volume-converter?value=1&from=m3&to=L HTTP/1.1
Host: agenttools-hub.vercel.app
→ 402 (payment required, instructions in headers)
→ 200 (after X-PAYMENT header; JSON body below)
{
"tool": "converters/volume-converter",
"input": {"value":1,"from":"m3","to":"L"},
"result": { "value": 1000, "answer": "1,000 L" }
}Agent docs: /llms.txt · OpenAPI spec · integration guide
About this tool
Convert kitchen and liquid volumes between metric and US customary units — cups, tablespoons, fluid ounces, gallons, liters and more — with exact US definitions (a US cup is 236.59 mL).
value × m³factor ÷ target factor (all units relate to the L base)
Frequently asked questions
How many liters in a US gallon?
One US liquid gallon is exactly 3.785411784 liters. (The imperial gallon used in the UK is 4.54609 L.)
How many tablespoons in a cup?
16 US tablespoons in one US cup; 48 teaspoons per cup.
Is a US cup the same as a metric cup?
No — a US legal cup is 240 mL and a US customary cup 236.59 mL; this converter uses the customary 236.59 mL definition. A metric cup (250 mL) is a different, rounder unit.