{"uid":"cap_2wdenVh1Bhf4kkAQSuM4n","slug":"awg-wire-gauge-calculator-b98880f7","name":"AWG Wire Gauge Calculator","description":"AWG copper wire: diameter, area and resistance per km, the nearest AWG for an area, and voltage drop over a run.","url":"https://electronics-calc.x402tookit.com/wire-gauge?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":{"awg":{"type":"integer","description":"AWG number, -3 to 40 (use instead of areaMm2)"},"areaMm2":{"type":"number","description":"Cross-section in mm2 to find the nearest AWG"},"lengthM":{"type":"number","description":"One-way run length in metres for voltage drop"},"supplyV":{"type":"number","description":"Supply volts to express the drop as a percentage"},"currentA":{"type":"number","description":"Current in amps for voltage drop"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"awg":{"type":["null","number"]},"asOf":{"type":["null","string"]},"note":{},"basis":{"type":["null","string"]},"source":{"type":["null","string"]},"areaMm2":{"type":["null","number"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"summary":{"type":["null","string"]},"verdict":{"type":["null","string"]},"degraded":{"type":["boolean","null"]},"diameterMm":{"type":["null","number"]},"disclaimer":{"type":["null","string"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"powerLossW":{"type":["null","number"]},"loopLengthM":{"type":["null","number"]},"diameterInch":{"type":["null","number"]},"voltageDropV":{"type":["null","number"]},"voltageDropPct":{"type":["null","number"]},"loopResistanceOhm":{"type":["null","number"]},"copperResistanceOhmPerKm":{"type":["null","number"]},"copperResistanceOhmPer1000ft":{"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_ovYUct1_maLlhaGW3uTM2","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":"Returns AWG copper wire diameter, cross-sectional area, resistance per km, and optionally calculates voltage drop and power loss over a given run.","exampleAgentPrompt":"What's the diameter and resistance per km of AWG 12 copper wire, and what would the voltage drop be over a 25-metre run carrying 10 amps from a 120V supply?","exampleUseCases":[{"title":"Home wiring voltage drop check","prompt":"I'm running AWG 14 copper wire 30 metres to a shed from a 240V panel carrying 15 amps — what's the expected voltage drop in volts and percent?"},{"title":"Finding nearest AWG for cable spec","prompt":"I have a 4 mm² copper cable spec — what's the nearest AWG number, and what's its diameter and resistance per kilometre?"},{"title":"Low-voltage DC power loss estimation","prompt":"I need to know the power loss and voltage drop for AWG 10 wire on a 50-metre one-way run in a 48V 20-amp solar system."}],"resultDescription":"Returns AWG gauge, wire diameter in mm and inches, cross-sectional area in mm², copper resistance in Ω/km and Ω/1000ft. If length, current and supply voltage are provided, also returns loop length, loop resistance, voltage drop in volts and as a percentage, and power loss in watts.","failureModes":["AWG number out of range (-3 to 40) returns an error or null values","Providing neither awg nor areaMm2 yields no wire properties","Voltage drop fields null if currentA or lengthM not supplied","supplyV omitted means voltageDropPct will be null even if voltageDropV is present"],"whenToPreferThis":"Use this endpoint when you need accurate copper wire properties (AWG lookup, area-to-AWG conversion, resistance) or need to calculate voltage drop and power loss for a DC or AC cable run. Prefer over manual lookup tables when an exact area-to-AWG match is needed or when voltage drop across a specific run length and current must be computed programmatically.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-25T18:46:54.322Z","isFirstParty":false,"canonicalSlug":"awg-wire-gauge-calculator-b98880f7"}