{"uid":"cap_GusMY7Baisfqi8gukVgqq","slug":"audio-calc-dbfs-linear-amplitude-converter-ec5063b3","name":"Audio Calc – dBFS & Linear Amplitude Converter","description":"Convert between linear amplitude and dBFS, and get the RMS level and crest factor of a sine, square, triangle or sawtooth.","url":"https://audio-calc.x402tookit.com/dbfs?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":[],"properties":{"dbfs":{"type":"number","description":"Peak level in dBFS (0 or below for undistorted audio)"},"shape":{"enum":["sine","square","triangle","sawtooth"],"type":"string","description":"Waveform for RMS: sine (default), square, triangle or sawtooth"},"amplitude":{"type":"number","description":"Linear peak amplitude where 1.0 is full scale (use this, or dbfs)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"asOf":{"type":["null","string"]},"dbfs":{"type":["null","number"]},"shape":{"type":["null","string"]},"source":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"rmsDbfs":{"type":["null","number"]},"summary":{"type":["null","string"]},"verdict":{"type":["null","string"]},"degraded":{"type":["boolean","null"]},"amplitude":{"type":["null","number"]},"disclaimer":{"type":["null","string"]},"headroomDb":{"type":["null","number"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"crestFactor":{"type":["null","number"]},"rmsAmplitude":{"type":["null","number"]},"crestFactorDb":{"type":["null","number"]},"sixteenBitCode":{"type":["null","number"]},"twentyFourBitCode":{"type":["null","number"]},"percentOfFullScale":{"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_LPXi4WsLDGrw3MkN6k_Tf","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":"Converts between linear amplitude and dBFS, and computes RMS level, crest factor, and headroom for sine, square, triangle, or sawtooth waveforms.","exampleAgentPrompt":"What is the RMS level and crest factor of a sine wave at -6 dBFS, and what's the equivalent linear amplitude and headroom?","exampleUseCases":[{"title":"Check headroom before mastering","prompt":"I'm about to master a track — what's the headroom and crest factor if my sine wave peaks at -3 dBFS?"},{"title":"Convert linear amplitude for plugin","prompt":"My audio plugin uses linear amplitude — convert 0.5 linear amplitude to dBFS and tell me the RMS level assuming a sawtooth waveform."},{"title":"Verify 16-bit and 24-bit PCM codes","prompt":"For a triangle wave at -12 dBFS, what are the 16-bit and 24-bit PCM codes, the RMS dBFS, and what percentage of full scale is that?"}],"resultDescription":"Returns the input amplitude and its dBFS equivalent, RMS amplitude and RMS dBFS for the selected waveform shape, crest factor (linear and in dB), headroom in dB, percent of full scale, and the corresponding 16-bit and 24-bit integer PCM codes.","failureModes":["Missing both 'amplitude' and 'dbfs' parameters returns an error — exactly one must be provided","dBFS value above 0 (clipping) may return a warning or be rejected","Invalid 'shape' enum value returns a validation error","Negative amplitude values are invalid and will likely error"],"whenToPreferThis":"Use this endpoint when you need precise audio-level math: converting between linear and logarithmic scales, understanding the RMS behavior of a specific waveform, checking headroom, or getting exact PCM integer codes for a given level — all in a single call without writing DSP code.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T00:34:50.211Z","isFirstParty":false,"canonicalSlug":"audio-calc-dbfs-linear-amplitude-converter-ec5063b3"}