{"openapi":"3.1.0","info":{"title":"Electronics Calculators","version":"1.0.0","description":"Ohm's law, resistor codes and standard values, dividers, LED resistors, RC filters, battery runtime, wire gauge, decibels, 555 timers, power cost. One call, one computed answer, no accounts or API keys. Machine-payable over x402.","x-guidance":"Electronics Calculators: Ohm's law, resistor codes and standard values, dividers, LED resistors, RC filters, battery runtime, wire gauge, decibels, 555 timers, power cost. Electronics Calculators does the arithmetic makers and engineers get wrong: Ohm's law from any two values (/ohms-law), resistor color bands decoded or encoded (/resistor-color), the nearest standard E6 to E192 resistor value (/resistor-standard), voltage dividers (/voltage-divider), the series resistor for an LED (/led-resistor), RC filter cutoff and time constants (/rc-filter), battery runtime (/battery-runtime), AWG wire sizes, resistance and voltage drop (/wire-gauge), decibel conversions (/decibels), 555 timer frequency and duty (/ne555-timer) and the running cost of a device (/power-cost). Each paid GET returns a computed verdict with the reasons, the source and what was NOT checked. A verdict of UNVERIFIED means a lookup failed: treat it as unknown. No account or key: pay per call in USDC over x402."},"servers":[{"url":"https://electronics-calc.x402tookit.com"}],"paths":{"/battery-runtime":{"get":{"operationId":"battery_runtime","summary":"Battery runtime estimate from capacity (mAh and volts, or Wh) and load (mA or W), with efficiency and usable depth of discharge.","description":"Battery runtime estimate from capacity (mAh and volts, or Wh) and load (mA or W), with efficiency and usable depth of discharge.","tags":["electronics","battery","runtime","maker"],"parameters":[{"name":"capacityMah","in":"query","required":false,"description":"Capacity in mAh (with voltage)","schema":{"type":"number"}},{"name":"voltage","in":"query","required":false,"description":"Battery nominal volts (with mAh)","schema":{"type":"number"}},{"name":"capacityWh","in":"query","required":false,"description":"Capacity in watt-hours (instead of mAh)","schema":{"type":"number"}},{"name":"loadMa","in":"query","required":false,"description":"Load in mA at the battery voltage","schema":{"type":"number"}},{"name":"loadW","in":"query","required":false,"description":"Load in watts (instead of mA)","schema":{"type":"number"}},{"name":"efficiencyPct","in":"query","required":false,"description":"Converter efficiency, default 90","schema":{"type":"number"}},{"name":"usablePct","in":"query","required":false,"description":"Usable capacity, default 80 (protects battery life)","schema":{"type":"number"}}],"responses":{"200":{"description":"The answer.","content":{"application/json":{"schema":{"type":"object","properties":{"verdict":{"type":["null","string"]},"summary":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"capacityWh":{"type":["null","number"]},"loadW":{"type":["null","number"]},"usableFraction":{"type":["null","number"]},"efficiency":{"type":["null","number"]},"idealHours":{"type":["null","number"]},"estimatedHours":{"type":["null","number"]},"estimatedDays":{"type":["null","number"]},"estimatedMinutes":{"type":["null","number"]},"degraded":{"type":["boolean","null"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"source":{"type":["null","string"]},"asOf":{"type":["null","string"]},"disclaimer":{"type":["null","string"]}}},"example":{"verdict":"ESTIMATED","summary":"About 9.6 hours (0.4 days) of runtime: 7.4 Wh x 80% usable x 90% efficiency over a 0.555 W load; 13.3 h in the ideal case.","reasons":["Runtime = usable energy / load power. This is an estimate: real runtime is often 10 to 30% lower for heavy loads or in the cold.","Keeping lithium cells between 20% and 100% (about 80% usable) extends their life."],"capacityWh":7.4,"loadW":0.555,"usableFraction":0.8,"efficiency":0.9,"idealHours":13.3333,"estimatedHours":9.6,"estimatedDays":0.4,"estimatedMinutes":576,"degraded":false,"notChecked":["Peukert effect (heavy loads drain lead-acid and some Li cells faster than capacity suggests)","temperature (cold cuts capacity a lot)","…2 more"],"source":"computed locally","asOf":"2026-10-11T08:33:10.939Z","disclaimer":"Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting."}}}},"400":{"description":"A parameter was missing or out of range."},"402":{"description":"Payment Required"},"502":{"description":"The upstream source failed or timed out."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0200"},"protocols":[{"x402":{"network":"eip155:8453","scheme":"exact","currency":"USDC","endpoint":"https://electronics-calc.x402tookit.com/battery-runtime"}},{"x402":{"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","scheme":"exact","currency":"USDC","endpoint":"https://electronics-calc.x402tookit.com/battery-runtime"}},{"x402":{"network":"eip155:137","scheme":"exact","currency":"USDC","endpoint":"https://electronics-calc.x402tookit.com/battery-runtime"}},{"x402":{"network":"eip155:42161","scheme":"exact","currency":"USDC","endpoint":"https://electronics-calc.x402tookit.com/battery-runtime"}}]}}},"/decibels":{"get":{"operationId":"decibels","summary":"Decibel conversions: power or voltage ratio to dB and back, and dBm to milliwatts and watts and back.","description":"Decibel conversions: power or voltage ratio to dB and back, and dBm to milliwatts and watts and back.","tags":["electronics","decibel","dbm","rf","audio"],"parameters":[{"name":"ratio","in":"query","required":false,"description":"Linear ratio to convert to dB","schema":{"type":"number"}},{"name":"kind","in":"query","required":false,"description":"power (10 log, default) or amplitude (20 log: voltage, current, pressure)","schema":{"type":"string"}},{"name":"db","in":"query","required":false,"description":"dB value to convert to a ratio","schema":{"type":"number"}},{"name":"dbm","in":"query","required":false,"description":"dBm to convert to mW and W","schema":{"type":"number"}},{"name":"milliwatts","in":"query","required":false,"description":"mW to convert to dBm","schema":{"type":"number"}}],"responses":{"200":{"description":"The answer.","content":{"application/json":{"schema":{"type":"object","properties":{"verdict":{"type":["null","string"]},"summary":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"ratio":{"type":["null","number"]},"kind":{"type":["null","string"]},"db":{"type":["null","number"]},"degraded":{"type":["boolean","null"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"source":{"type":["null","string"]},"asOf":{"type":["null","string"]},"disclaimer":{"type":["null","string"]}}},"example":{"verdict":"RATIO_TO_DB","summary":"A power ratio of 2 is 3.0103 dB.","reasons":["dB = 10 x log10(ratio) for power quantities."],"ratio":2,"kind":"power","db":3.010299957,"degraded":false,"notChecked":["reference levels other than 1 mW (dBV, dBu, dBSPL, dBW need their own reference)","adding decibels from separate sources (power sums, not dB sums)"],"source":"computed locally","asOf":"2026-10-11T08:33:11.204Z","disclaimer":"Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting."}}}},"400":{"description":"A parameter was missing or out of range."},"402":{"description":"Payment Required"},"502":{"description":"The upstream source failed or timed out."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0200"},"protocols":[{"x402":{"network":"eip155:8453","scheme":"exact","currency":"USDC","endpoint":"https://electronics-calc.x402tookit.com/decibels"}},{"x402":{"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","scheme":"exact","currency":"USDC","endpoint":"https://electronics-calc.x402tookit.com/decibels"}},{"x402":{"network":"eip155:137","scheme":"exact","currency":"USDC","endpoint":"https://electronics-calc.x402tookit.com/decibels"}},{"x402":{"network":"eip155:42161","scheme":"exact","currency":"USDC","endpoint":"https://electronics-calc.x402tookit.com/decibels"}}]}}},"/led-resistor":{"get":{"operationId":"led_resistor","summary":"Series resistor for an LED from supply voltage, forward voltage and current, with nearest E12 and E24 values and real current.","description":"Series resistor for an LED from supply voltage, forward voltage and current, with nearest E12 and E24 values and real current.","tags":["electronics","led","resistor","maker"],"parameters":[{"name":"supplyV","in":"query","required":true,"description":"Supply volts","schema":{"type":"number"}},{"name":"forwardV","in":"query","required":true,"description":"LED forward voltage (red about 2.0, white and blue about 3.0-3.4)","schema":{"type":"number"}},{"name":"currentMa","in":"query","required":true,"description":"Desired LED current in mA","schema":{"type":"number"}},{"name":"count","in":"query","required":false,"description":"LEDs in series (default 1)","schema":{"type":"integer"}}],"responses":{"200":{"description":"The answer.","content":{"application/json":{"schema":{"type":"object","properties":{"verdict":{"type":["null","string"]},"summary":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"resistanceOhm":{"type":["null","number"]},"voltageAcrossResistorV":{"type":["null","number"]},"exactPowerMw":{"type":["null","number"]},"e24":{"type":["null","object"],"properties":{"below":{"type":["null","number"]},"above":{"type":["null","number"]},"closest":{"type":["null","number"]}}},"e12":{"type":["null","object"],"properties":{"below":{"type":["null","number"]},"above":{"type":["null","number"]},"closest":{"type":["null","number"]}}},"recommended":{"type":["null","object"],"properties":{"ohms":{"type":["null","number"]},"series":{"type":["null","string"]},"actualCurrentMa":{"type":["null","number"]},"resistorPowerMw":{"type":["null","number"]}}},"ledsInSeries":{"type":["null","number"]},"degraded":{"type":["boolean","null"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"source":{"type":["null","string"]},"asOf":{"type":["null","string"]},"disclaimer":{"type":["null","string"]}}},"example":{"verdict":"COMPUTED","summary":"R = 150 ohm for 20 mA (3 V across the resistor); use 150 ohm (next standard E24 value up) for 20 mA, dissipating 60 mW.","reasons":["Round UP to the next standard value so the current stays at or below the target.","Use a resistor rated at least 2x its dissipation (a 1/4 W part is plenty for 60 mW)."],"resistanceOhm":150,"voltageAcrossResistorV":3,"exactPowerMw":60,"e24":{"below":150,"above":150,"closest":150},"e12":{"below":150,"above":150,"closest":150},"recommended":{"ohms":150,"series":"E24 next value up","actualCurrentMa":20,"resistorPowerMw":60},"ledsInSeries":1,"degraded":false,"notChecked":["the LED's absolute maximum current and the supply's tolerance","forward voltage varies by part and temperature (read the datasheet)","…2 more"],"source":"computed locally","asOf":"2026-10-11T08:33:11.465Z","disclaimer":"Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting."}}}},"400":{"description":"A parameter was missing or out of range."},"402":{"description":"Payment Required"},"502":{"description":"The upstream source failed or timed out."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0200"},"protocols":[{"x402":{"network":"eip155:8453","scheme":"exact","currency":"USDC","endpoint":"https://electronics-calc.x402tookit.com/led-resistor"}},{"x402":{"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","scheme":"exact","currency":"USDC","endpoint":"https://electronics-calc.x402tookit.com/led-resistor"}},{"x402":{"network":"eip155:137","scheme":"exact","currency":"USDC","endpoint":"https://electronics-calc.x402tookit.com/led-resistor"}},{"x402":{"network":"eip155:42161","scheme":"exact","currency":"USDC","endpoint":"https://electronics-calc.x402tookit.com/led-resistor"}}]}}},"/ne555-timer":{"get":{"operationId":"ne555_timer","summary":"555 timer calculator: astable frequency, period and duty cycle from R1, R2 and C, or monostable pulse width from R and C.","description":"555 timer calculator: astable frequency, period and duty cycle from R1, R2 and C, or monostable pulse width from R and C.","tags":["electronics","555","timer","oscillator"],"parameters":[{"name":"mode","in":"query","required":true,"description":"astable or monostable","schema":{"type":"string"}},{"name":"r1","in":"query","required":false,"description":"R1 ohms (astable) or R (monostable)","schema":{"type":"string"}},{"name":"r2","in":"query","required":false,"description":"R2 ohms (astable only)","schema":{"type":"string"}},{"name":"c","in":"query","required":true,"description":"Timing capacitor in farads, e.g. 10u","schema":{"type":"string"}}],"responses":{"200":{"description":"The answer.","content":{"application/json":{"schema":{"type":"object","properties":{"verdict":{"type":["null","string"]},"summary":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"frequencyHz":{"type":["null","number"]},"periodS":{"type":["null","number"]},"dutyCyclePct":{"type":["null","number"]},"highTimeS":{"type":["null","number"]},"lowTimeS":{"type":["null","number"]},"formatted":{"type":["null","object"],"properties":{"frequency":{"type":["null","string"]},"period":{"type":["null","string"]}}},"degraded":{"type":["boolean","null"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"source":{"type":["null","string"]},"asOf":{"type":["null","string"]},"disclaimer":{"type":["null","string"]}}},"example":{"verdict":"ASTABLE","summary":"68.57 Hz (period 14.58 ms), duty cycle 52.38%: high 7.623 ms, low 6.93 ms.","reasons":["f = 1.44 / ((R1 + 2 R2) C); duty = (R1 + R2) / (R1 + 2 R2), always above 50% in the basic circuit.","Use R1 much smaller than R2 to approach a 50% duty cycle."],"frequencyHz":68.571429,"periodS":0.014583333,"dutyCyclePct":52.381,"highTimeS":0.007623,"lowTimeS":0.00693,"formatted":{"frequency":"68.57 Hz","period":"14.58 ms"},"degraded":false,"notChecked":["CMOS versus bipolar 555 differences and supply voltage effects","real component tolerance and capacitor leakage","…1 more"],"source":"computed locally","asOf":"2026-10-11T08:33:11.726Z","disclaimer":"Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting."}}}},"400":{"description":"A parameter was missing or out of range."},"402":{"description":"Payment Required"},"502":{"description":"The upstream source failed or timed out."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0200"},"protocols":[{"x402":{"network":"eip155:8453","scheme":"exact","currency":"USDC","endpoint":"https://electronics-calc.x402tookit.com/ne555-timer"}},{"x402":{"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","scheme":"exact","currency":"USDC","endpoint":"https://electronics-calc.x402tookit.com/ne555-timer"}},{"x402":{"network":"eip155:137","scheme":"exact","currency":"USDC","endpoint":"https://electronics-calc.x402tookit.com/ne555-timer"}},{"x402":{"network":"eip155:42161","scheme":"exact","currency":"USDC","endpoint":"https://electronics-calc.x402tookit.com/ne555-timer"}}]}}},"/ohms-law":{"get":{"operationId":"ohms_law","summary":"Ohm's law and power: give any two of voltage, current, resistance and power and get all four, with engineering units.","description":"Ohm's law and power: give any two of voltage, current, resistance and power and get all four, with engineering units.","tags":["electronics","ohms-law","power","calculator"],"parameters":[{"name":"voltage","in":"query","required":false,"description":"Volts","schema":{"type":"number"}},{"name":"current","in":"query","required":false,"description":"Amps","schema":{"type":"number"}},{"name":"resistance","in":"query","required":false,"description":"Ohms","schema":{"type":"number"}},{"name":"power","in":"query","required":false,"description":"Watts","schema":{"type":"number"}}],"responses":{"200":{"description":"The answer.","content":{"application/json":{"schema":{"type":"object","properties":{"verdict":{"type":["null","string"]},"summary":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"voltageV":{"type":["null","number"]},"currentA":{"type":["null","number"]},"resistanceOhm":{"type":["null","number"]},"powerW":{"type":["null","number"]},"formatted":{"type":["null","object"],"properties":{"voltage":{"type":["null","string"]},"current":{"type":["null","string"]},"resistance":{"type":["null","string"]},"power":{"type":["null","string"]}}},"degraded":{"type":["boolean","null"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"source":{"type":["null","string"]},"asOf":{"type":["null","string"]},"disclaimer":{"type":["null","string"]}}},"example":{"verdict":"SOLVED","summary":"12 V, 500 mA, 24 ohm, 6 W.","reasons":["V = I x R, P = V x I. Resistors are rated for power: choose a part rated at least twice the dissipation.","Resistive DC or RMS values only."],"voltageV":12,"currentA":0.5,"resistanceOhm":24,"powerW":6,"formatted":{"voltage":"12 V","current":"500 mA","resistance":"24 ohm","power":"6 W"},"degraded":false,"notChecked":["AC circuits (this is DC or resistive RMS only: reactance and power factor are ignored)","component ratings, heat and tolerance","…1 more"],"source":"computed locally","asOf":"2026-10-11T08:33:11.991Z","disclaimer":"Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting."}}}},"400":{"description":"A parameter was missing or out of range."},"402":{"description":"Payment Required"},"502":{"description":"The upstream source failed or timed out."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0200"},"protocols":[{"x402":{"network":"eip155:8453","scheme":"exact","currency":"USDC","endpoint":"https://electronics-calc.x402tookit.com/ohms-law"}},{"x402":{"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","scheme":"exact","currency":"USDC","endpoint":"https://electronics-calc.x402tookit.com/ohms-law"}},{"x402":{"network":"eip155:137","scheme":"exact","currency":"USDC","endpoint":"https://electronics-calc.x402tookit.com/ohms-law"}},{"x402":{"network":"eip155:42161","scheme":"exact","currency":"USDC","endpoint":"https://electronics-calc.x402tookit.com/ohms-law"}}]}}},"/power-cost":{"get":{"operationId":"power_cost","summary":"Energy use and running cost of a device from its watts, hours per day and electricity price: daily, monthly and yearly.","description":"Energy use and running cost of a device from its watts, hours per day and electricity price: daily, monthly and yearly.","tags":["electricity","energy","cost","calculator"],"parameters":[{"name":"watts","in":"query","required":true,"description":"Device power draw in watts","schema":{"type":"number"}},{"name":"hoursPerDay","in":"query","required":true,"description":"Hours of use per day, 0 to 24","schema":{"type":"number"}},{"name":"pricePerKwh","in":"query","required":true,"description":"Electricity price per kWh in your currency","schema":{"type":"number"}},{"name":"daysPerYear","in":"query","required":false,"description":"Days of use per year (default 365)","schema":{"type":"number"}}],"responses":{"200":{"description":"The answer.","content":{"application/json":{"schema":{"type":"object","properties":{"verdict":{"type":["null","string"]},"summary":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"kwhPerDay":{"type":["null","number"]},"kwhPerMonth":{"type":["null","number"]},"kwhPerYear":{"type":["null","number"]},"costPerDay":{"type":["null","number"]},"costPerMonth":{"type":["null","number"]},"costPerYear":{"type":["null","number"]},"costPerHour":{"type":["null","number"]},"degraded":{"type":["boolean","null"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"source":{"type":["null","string"]},"asOf":{"type":["null","string"]},"disclaimer":{"type":["null","string"]}}},"example":{"verdict":"COMPUTED","summary":"150 W for 8 h/day = 1.2 kWh/day: 0.19 per day, 5.84 per month, 70.08 per year (438 kWh).","reasons":["Energy (kWh) = watts x hours / 1000; cost = kWh x price.","Use the measured average draw: a nameplate rating is a maximum."],"kwhPerDay":1.2,"kwhPerMonth":36.5,"kwhPerYear":438,"costPerDay":0.19,"costPerMonth":5.84,"costPerYear":70.08,"costPerHour":0.024,"degraded":false,"notChecked":["standby and variable load (use the average draw, not the label rating)","tiered or time-of-use tariffs and fixed charges","…2 more"],"source":"computed locally","asOf":"2026-10-11T08:33:12.252Z","disclaimer":"Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting."}}}},"400":{"description":"A parameter was missing or out of range."},"402":{"description":"Payment Required"},"502":{"description":"The upstream source failed or timed out."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0200"},"protocols":[{"x402":{"network":"eip155:8453","scheme":"exact","currency":"USDC","endpoint":"https://electronics-calc.x402tookit.com/power-cost"}},{"x402":{"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","scheme":"exact","currency":"USDC","endpoint":"https://electronics-calc.x402tookit.com/power-cost"}},{"x402":{"network":"eip155:137","scheme":"exact","currency":"USDC","endpoint":"https://electronics-calc.x402tookit.com/power-cost"}},{"x402":{"network":"eip155:42161","scheme":"exact","currency":"USDC","endpoint":"https://electronics-calc.x402tookit.com/power-cost"}}]}}},"/rc-filter":{"get":{"operationId":"rc_filter","summary":"RC filter cutoff frequency, time constant and charge times to 63%, 90% and 99% from resistance and capacitance.","description":"RC filter cutoff frequency, time constant and charge times to 63%, 90% and 99% from resistance and capacitance.","tags":["electronics","rc-filter","time-constant","capacitor"],"parameters":[{"name":"resistance","in":"query","required":true,"description":"Ohms, e.g. 10k","schema":{"type":"string"}},{"name":"capacitance","in":"query","required":true,"description":"Farads, e.g. 100n, 2u2 or 0.000001","schema":{"type":"string"}}],"responses":{"200":{"description":"The answer.","content":{"application/json":{"schema":{"type":"object","properties":{"verdict":{"type":["null","string"]},"summary":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"resistanceOhm":{"type":["null","number"]},"capacitanceF":{"type":["null","number"]},"timeConstantS":{"type":["null","number"]},"cutoffHz":{"type":["null","number"]},"angularCutoffRadS":{"type":["null","number"]},"chargeTimesS":{"type":["null","object"],"properties":{"p632":{"type":["null","number"]},"p90":{"type":["null","number"]},"p95":{"type":["null","number"]},"p99":{"type":["null","number"]},"p999":{"type":["null","number"]}}},"formatted":{"type":["null","object"],"properties":{"tau":{"type":["null","string"]},"cutoff":{"type":["null","string"]}}},"degraded":{"type":["boolean","null"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"source":{"type":["null","string"]},"asOf":{"type":["null","string"]},"disclaimer":{"type":["null","string"]}}},"example":{"verdict":"COMPUTED","summary":"R=10 kohm, C=100 nF: time constant 1 ms, cutoff (-3 dB) 159.2 Hz; 99% charged in 4.605 ms.","reasons":["Cutoff fc = 1 / (2 pi R C): a low-pass passes below it and a high-pass passes above it, -20 dB per decade.","Charge to 63.2% in 1 tau, 86.5% in 2, 95% in 3, 98.2% in 4, 99.3% in 5."],"resistanceOhm":10000,"capacitanceF":1.0000000000000001e-7,"timeConstantS":0.001,"cutoffHz":159.15494,"angularCutoffRadS":1000,"chargeTimesS":{"p632":0.001,"p90":0.0023025851,"p95":0.0029957323,"p99":0.0046051702,"p999":0.0069077553},"formatted":{"tau":"1 ms","cutoff":"159.2 Hz"},"degraded":false,"notChecked":["source and load impedance (they shift the real cutoff)","capacitor tolerance, ESR and voltage derating","…1 more"],"source":"computed locally","asOf":"2026-10-11T08:33:12.513Z","disclaimer":"Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting."}}}},"400":{"description":"A parameter was missing or out of range."},"402":{"description":"Payment Required"},"502":{"description":"The upstream source failed or timed out."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0200"},"protocols":[{"x402":{"network":"eip155:8453","scheme":"exact","currency":"USDC","endpoint":"https://electronics-calc.x402tookit.com/rc-filter"}},{"x402":{"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","scheme":"exact","currency":"USDC","endpoint":"https://electronics-calc.x402tookit.com/rc-filter"}},{"x402":{"network":"eip155:137","scheme":"exact","currency":"USDC","endpoint":"https://electronics-calc.x402tookit.com/rc-filter"}},{"x402":{"network":"eip155:42161","scheme":"exact","currency":"USDC","endpoint":"https://electronics-calc.x402tookit.com/rc-filter"}}]}}},"/resistor-color":{"get":{"operationId":"resistor_color","summary":"Decode 3 to 6 resistor color bands to ohms, tolerance and temperature coefficient, or encode a value into 4 or 5 bands.","description":"Decode 3 to 6 resistor color bands to ohms, tolerance and temperature coefficient, or encode a value into 4 or 5 bands.","tags":["electronics","resistor","color-code"],"parameters":[{"name":"bands","in":"query","required":false,"description":"Colors in order, e.g. red,violet,orange,gold","schema":{"type":"string"}},{"name":"value","in":"query","required":false,"description":"Value to encode, e.g. 4.7k","schema":{"type":"string"}},{"name":"tolerancePct","in":"query","required":false,"description":"Tolerance to encode (default 5)","schema":{"type":"number"}}],"responses":{"200":{"description":"The answer.","content":{"application/json":{"schema":{"type":"object","properties":{"verdict":{"type":["null","string"]},"summary":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"bands":{"type":["array","null"],"items":{"type":"string"}},"ohms":{"type":["null","number"]},"formatted":{"type":["null","string"]},"tolerancePct":{"type":["null","number"]},"minOhms":{"type":["null","number"]},"maxOhms":{"type":["null","number"]},"temperatureCoefficientPpm":{},"degraded":{"type":["boolean","null"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"source":{"type":["null","string"]},"asOf":{"type":["null","string"]},"disclaimer":{"type":["null","string"]}}},"example":{"verdict":"DECODED","summary":"red-violet-orange-gold = 27 kohm +/-5% (25.65 kohm to 28.35 kohm).","reasons":["4-band code: 2 digits, then multiplier, then tolerance."],"bands":["red","violet","…2 more"],"ohms":27000,"formatted":"27 kohm","tolerancePct":5,"minOhms":25650,"maxOhms":28350,"temperatureCoefficientPpm":null,"degraded":false,"notChecked":["band reading direction (the tolerance band is usually spaced apart; read from the other end if the first band looks like gold or silver)","the actual measured resistance (use a meter: parts drift and are only within tolerance)","…1 more"],"source":"computed locally","asOf":"2026-10-11T08:33:12.777Z","disclaimer":"Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting."}}}},"400":{"description":"A parameter was missing or out of range."},"402":{"description":"Payment Required"},"502":{"description":"The upstream source failed or timed out."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0200"},"protocols":[{"x402":{"network":"eip155:8453","scheme":"exact","currency":"USDC","endpoint":"https://electronics-calc.x402tookit.com/resistor-color"}},{"x402":{"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","scheme":"exact","currency":"USDC","endpoint":"https://electronics-calc.x402tookit.com/resistor-color"}},{"x402":{"network":"eip155:137","scheme":"exact","currency":"USDC","endpoint":"https://electronics-calc.x402tookit.com/resistor-color"}},{"x402":{"network":"eip155:42161","scheme":"exact","currency":"USDC","endpoint":"https://electronics-calc.x402tookit.com/resistor-color"}}]}}},"/resistor-standard":{"get":{"operationId":"resistor_standard","summary":"Nearest standard E6, E12, E24, E48, E96 or E192 resistor values to a target, with the percent error of each neighbour.","description":"Nearest standard E6, E12, E24, E48, E96 or E192 resistor values to a target, with the percent error of each neighbour.","tags":["electronics","resistor","e-series","standard-values"],"parameters":[{"name":"target","in":"query","required":true,"description":"Target resistance, e.g. 4.3k, 6800 or 2.2M","schema":{"type":"string"}},{"name":"series","in":"query","required":false,"description":"E6, E12, E24 (default), E48, E96 or E192","schema":{"type":"string"}}],"responses":{"200":{"description":"The answer.","content":{"application/json":{"schema":{"type":"object","properties":{"verdict":{"type":["null","string"]},"summary":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"target":{"type":["null","number"]},"series":{"type":["null","string"]},"below":{"type":["null","number"]},"above":{"type":["null","number"]},"closest":{"type":["null","number"]},"errorPct":{"type":["null","number"]},"isStandard":{"type":["boolean","null"]},"otherSeries":{"type":["array","null"],"items":{"type":"object","properties":{"series":{"type":["null","string"]},"closest":{"type":["null","number"]},"errorPct":{"type":["null","number"]}}}},"degraded":{"type":["boolean","null"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"source":{"type":["null","string"]},"asOf":{"type":["null","string"]},"disclaimer":{"type":["null","string"]}}},"example":{"verdict":"NEAREST_FOUND","summary":"4.3 kohm in E12: closest 3.9 kohm (9.3% off); below 3.9 kohm, above 4.7 kohm.","reasons":["E12 has 12 values per decade.","Tighter series (E48 and up) are 2% or better parts and cost more."],"target":4300,"series":"E12","below":3900,"above":4700,"closest":3900,"errorPct":9.30233,"isStandard":false,"otherSeries":[{"series":"E6","closest":4700,"errorPct":9.302},{"series":"E24","closest":4300,"errorPct":0}],"degraded":false,"notChecked":["tolerance matching: E12 parts are 10% typically, E24 5% and E96 1%","series availability for a given power rating or package","…1 more"],"source":"computed locally","asOf":"2026-10-11T08:33:13.043Z","disclaimer":"Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting."}}}},"400":{"description":"A parameter was missing or out of range."},"402":{"description":"Payment Required"},"502":{"description":"The upstream source failed or timed out."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0200"},"protocols":[{"x402":{"network":"eip155:8453","scheme":"exact","currency":"USDC","endpoint":"https://electronics-calc.x402tookit.com/resistor-standard"}},{"x402":{"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","scheme":"exact","currency":"USDC","endpoint":"https://electronics-calc.x402tookit.com/resistor-standard"}},{"x402":{"network":"eip155:137","scheme":"exact","currency":"USDC","endpoint":"https://electronics-calc.x402tookit.com/resistor-standard"}},{"x402":{"network":"eip155:42161","scheme":"exact","currency":"USDC","endpoint":"https://electronics-calc.x402tookit.com/resistor-standard"}}]}}},"/voltage-divider":{"get":{"operationId":"voltage_divider","summary":"Resistor voltage divider: output voltage, current and power from R1 and R2, or the R2 needed for a target output.","description":"Resistor voltage divider: output voltage, current and power from R1 and R2, or the R2 needed for a target output.","tags":["electronics","voltage-divider","resistor"],"parameters":[{"name":"vin","in":"query","required":true,"description":"Input volts","schema":{"type":"number"}},{"name":"r1","in":"query","required":true,"description":"R1 in ohms, e.g. 10k","schema":{"type":"string"}},{"name":"r2","in":"query","required":false,"description":"R2 in ohms (to find Vout)","schema":{"type":"string"}},{"name":"vout","in":"query","required":false,"description":"Target output volts (to find R2)","schema":{"type":"number"}}],"responses":{"200":{"description":"The answer.","content":{"application/json":{"schema":{"type":"object","properties":{"verdict":{"type":["null","string"]},"summary":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"vin":{"type":["null","number"]},"r1":{"type":["null","number"]},"r2":{"type":["null","number"]},"vout":{"type":["null","number"]},"ratio":{"type":["null","number"]},"currentA":{"type":["null","number"]},"totalPowerW":{"type":["null","number"]},"r1PowerW":{"type":["null","number"]},"r2PowerW":{"type":["null","number"]},"standardValue":{},"degraded":{"type":["boolean","null"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"source":{"type":["null","string"]},"asOf":{"type":["null","string"]},"disclaimer":{"type":["null","string"]}}},"example":{"verdict":"COMPUTED","summary":"10 kohm over 10 kohm from 5 V gives 2.5 V (250 uA flowing, 1.25 mW total).","reasons":["Vout = Vin x R2 / (R1 + R2). The divider draws constant current: use larger resistors for battery circuits.","A load on the output in parallel with R2 lowers Vout."],"vin":5,"r1":10000,"r2":10000,"vout":2.5,"ratio":0.5,"currentA":0.00025,"totalPowerW":0.00125,"r1PowerW":0.000625,"r2PowerW":0.000625,"standardValue":null,"degraded":false,"notChecked":["loading: a connected load changes the output (keep the load at least 10 times R2)","resistor tolerance (5% parts shift the output by about 2.5%)","…1 more"],"source":"computed locally","asOf":"2026-10-11T08:33:13.303Z","disclaimer":"Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting."}}}},"400":{"description":"A parameter was missing or out of range."},"402":{"description":"Payment Required"},"502":{"description":"The upstream source failed or timed out."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0200"},"protocols":[{"x402":{"network":"eip155:8453","scheme":"exact","currency":"USDC","endpoint":"https://electronics-calc.x402tookit.com/voltage-divider"}},{"x402":{"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","scheme":"exact","currency":"USDC","endpoint":"https://electronics-calc.x402tookit.com/voltage-divider"}},{"x402":{"network":"eip155:137","scheme":"exact","currency":"USDC","endpoint":"https://electronics-calc.x402tookit.com/voltage-divider"}},{"x402":{"network":"eip155:42161","scheme":"exact","currency":"USDC","endpoint":"https://electronics-calc.x402tookit.com/voltage-divider"}}]}}},"/wire-gauge":{"get":{"operationId":"wire_gauge","summary":"AWG copper wire: diameter, area and resistance per km, the nearest AWG for an area, and voltage drop over a run.","description":"AWG copper wire: diameter, area and resistance per km, the nearest AWG for an area, and voltage drop over a run.","tags":["electronics","awg","wire","voltage-drop"],"parameters":[{"name":"awg","in":"query","required":false,"description":"AWG number, -3 to 40 (use instead of areaMm2)","schema":{"type":"integer"}},{"name":"areaMm2","in":"query","required":false,"description":"Cross-section in mm2 to find the nearest AWG","schema":{"type":"number"}},{"name":"lengthM","in":"query","required":false,"description":"One-way run length in metres for voltage drop","schema":{"type":"number"}},{"name":"currentA","in":"query","required":false,"description":"Current in amps for voltage drop","schema":{"type":"number"}},{"name":"supplyV","in":"query","required":false,"description":"Supply volts to express the drop as a percentage","schema":{"type":"number"}}],"responses":{"200":{"description":"The answer.","content":{"application/json":{"schema":{"type":"object","properties":{"verdict":{"type":["null","string"]},"summary":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"awg":{"type":["null","number"]},"diameterMm":{"type":["null","number"]},"diameterInch":{"type":["null","number"]},"areaMm2":{"type":["null","number"]},"copperResistanceOhmPerKm":{"type":["null","number"]},"copperResistanceOhmPer1000ft":{"type":["null","number"]},"basis":{"type":["null","string"]},"note":{},"loopLengthM":{"type":["null","number"]},"loopResistanceOhm":{"type":["null","number"]},"voltageDropV":{"type":["null","number"]},"powerLossW":{"type":["null","number"]},"voltageDropPct":{"type":["null","number"]},"degraded":{"type":["boolean","null"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"source":{"type":["null","string"]},"asOf":{"type":["null","string"]},"disclaimer":{"type":["null","string"]}}},"example":{"verdict":"COMPUTED","summary":"AWG 18: 1.024 mm (0.0403 in), 0.823 mm2, 20.95 ohm/km. 10 m out and back at 2 A drops 0.8379 V (6.98% of 12 V), wasting 1.68 W.","reasons":["Diameter = 0.127 mm x 92^((36 - n) / 39). Lower AWG numbers are thicker wire.","Voltage drop uses the round-trip length (there and back). A common design target is under 3% drop.","…1 more"],"awg":18,"diameterMm":1.0237,"diameterInch":0.040303,"areaMm2":0.82305,"copperResistanceOhmPerKm":20.948,"copperResistanceOhmPer1000ft":6.3849,"basis":"solid annealed copper at 20 C (1.7241e-8 ohm metre)","note":null,"loopLengthM":20,"loopResistanceOhm":0.418956,"voltageDropV":0.837911,"powerLossW":1.67582,"voltageDropPct":6.983,"degraded":false,"notChecked":["AMPACITY: this service does NOT say how much current a wire can safely carry. That depends on insulation, bundling, ambient temperature, and local electrical codes: use the code tables or a qualified …","aluminium or other conductors (copper only)","…2 more"],"source":"computed locally","asOf":"2026-10-11T08:33:13.563Z","disclaimer":"Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting."}}}},"400":{"description":"A parameter was missing or out of range."},"402":{"description":"Payment Required"},"502":{"description":"The upstream source failed or timed out."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.0200"},"protocols":[{"x402":{"network":"eip155:8453","scheme":"exact","currency":"USDC","endpoint":"https://electronics-calc.x402tookit.com/wire-gauge"}},{"x402":{"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","scheme":"exact","currency":"USDC","endpoint":"https://electronics-calc.x402tookit.com/wire-gauge"}},{"x402":{"network":"eip155:137","scheme":"exact","currency":"USDC","endpoint":"https://electronics-calc.x402tookit.com/wire-gauge"}},{"x402":{"network":"eip155:42161","scheme":"exact","currency":"USDC","endpoint":"https://electronics-calc.x402tookit.com/wire-gauge"}}]}}}}}