{"uid":"cap_qbWiD_mBhYeefAD1dJMdl","slug":"automotive-engine-calculator-faaa069f","name":"Automotive Engine Calculator","description":"Engine displacement in cc, litres and cubic inches from bore, stroke and cylinders; compression ratio and mean piston speed.","url":"https://automotive-calc.x402tookit.com/engine-calc?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"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":["bore","stroke","cylinders"],"properties":{"rpm":{"type":"number","description":"Engine speed, for mean piston speed"},"bore":{"type":"number","description":"Cylinder bore diameter"},"unit":{"type":"string","description":"mm (default) or in for bore and stroke"},"stroke":{"type":"number","description":"Piston stroke"},"cylinders":{"type":"integer","description":"Number of cylinders, 1 to 16"},"clearanceVolumeCc":{"type":"number","description":"Combustion chamber volume per cylinder at top dead centre, cc, for the compression ratio"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"asOf":{"type":["null","string"]},"boreMm":{"type":["null","number"]},"design":{"type":["null","string"]},"source":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"summary":{"type":["null","string"]},"verdict":{"type":["null","string"]},"degraded":{"type":["boolean","null"]},"strokeMm":{"type":["null","number"]},"cylinders":{"type":["null","number"]},"disclaimer":{"type":["null","string"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"displacementCc":{"type":["null","number"]},"boreStrokeRatio":{"type":["null","number"]},"compressionRatio":{"type":["null","number"]},"meanPistonSpeedMs":{"type":["null","number"]},"displacementLitres":{"type":["null","number"]},"compressionRatioText":{"type":["null","string"]},"meanPistonSpeedFtMin":{"type":["null","number"]},"displacementCubicInches":{"type":["null","number"]},"displacementPerCylinderCc":{"type":["null","number"]}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_AkoT6rYUxdu9r4qvhq2iC","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Calculates engine displacement (cc, litres, cubic inches), compression ratio, bore-stroke ratio, and mean piston speed from bore, stroke, cylinders, and optional parameters.","exampleAgentPrompt":"Calculate the engine displacement and compression ratio for a 4-cylinder engine with 86mm bore, 86mm stroke, and a clearance volume of 42cc, also give me the mean piston speed at 6500 RPM.","exampleUseCases":[{"title":"Engine displacement for a custom build","prompt":"I'm building a 4-cylinder engine with an 85mm bore and 92mm stroke — can you tell me the total displacement in cc and litres, and the displacement per cylinder?"},{"title":"Compression ratio check for tuning","prompt":"My engine has a 91mm bore, 80mm stroke, 6 cylinders, and a combustion chamber clearance volume of 55cc — what's the compression ratio?"},{"title":"Mean piston speed at redline","prompt":"For a 2-cylinder engine with a 70mm bore and 65mm stroke running at 9000 RPM, what's the mean piston speed in both m/s and ft/min?"}],"resultDescription":"Returns a JSON object with engine displacement in cc, litres, and cubic inches (total and per cylinder), bore-stroke ratio, and optionally compression ratio (if clearance volume provided) and mean piston speed in m/s and ft/min (if RPM provided), along with bore and stroke in mm, cylinder count, and a summary.","failureModes":["Missing required parameters (bore, stroke, cylinders) returns an error","Invalid unit value (not 'mm' or 'in') may produce incorrect results","Cylinders outside 1–16 range may be rejected","Zero or negative bore/stroke values produce nonsensical results","Missing clearance volume means no compression ratio is returned","Missing RPM means no mean piston speed is returned"],"whenToPreferThis":"Use this endpoint when you need precise, multi-unit engine displacement calculations, compression ratio, bore-stroke ratio, or mean piston speed from raw engine geometry. Ideal for automotive engineers, tuners, or enthusiasts who have bore, stroke, and cylinder count and need instant derived metrics without manual formula work.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T06:37:37.856Z","isFirstParty":false,"canonicalSlug":"automotive-engine-calculator-faaa069f"}