這個頁面還沒有繁體中文版,先以英文顯示。

AI template

Voltage drop calculator for electricians, with AI

A voltage drop calculator electricians open on a phone: single-phase, three-phase, or DC, AWG or mm², with the smallest size within your limit.

voltage-drop.html
A voltage drop calculator on a phone: a drop of 6.293 V, 2.62 %, for 40 A on a single-phase 240 V circuit 160 ft long
An example Convika made with this template

Example: Voltage drop calculator

Convika made this page with the template. It works, so try it.

Make your own

Convika's AI makes your own tool in the example's format, fitted to what you write. Try it on your phone right away, no account needed.

Say what yours needs: your voltages, copper or aluminum, your conduit, your limit, your company's name. Up to 8,000 characters.

You don't need an account to try it. What you make is a preview that works for a few minutes.

Making it here is free and uses no AI credits. Once you sign up, each page the AI makes in your dashboard uses 1 credit, and new accounts start with 10.

The volts lost along a circuit, as a figure and as a percent of the system voltage, with the smallest conductor size within your limit. It works from NEC Chapter 9 Table 8 for AWG sizes or IEC 60228 for mm², the circular-mil K form, or R cos φ + X sin φ where reactance counts.

Say what your crew's version needs: your usual voltages, aluminum, your conduit, your own limit, your company's name. The AI keeps the formulas and the tables and writes your changes into the page, which computes on the phone and sends nothing anyone types.

How it works

  1. 1

    Say what you want

    Write what to change from the example: the subject, how many, the colors. Tap an idea to start from it.

  2. 2

    The AI makes the page

    Convika's AI writes the page in a few minutes, and you see a preview. Ask for changes in plain words until it's right.

  3. 3

    Publish and share the link

    Publish the page to get its own URL, then share it on X, LINE, or in class.

What it costs

Making a page uses 1 AI credit, and each change you ask for uses 1. A new account starts with 10 credits, so you can try a template without paying. Publishing on the Free plan is free.

Don't use the names, images, or text of existing shows, games, characters, or brands. The AI makes an original page on the same theme.

Use these instructions with ChatGPT or Claude

This is the template's description of its example, as Convika's AI gets it. Write what you want on the last line, paste it into ChatGPT, Claude, or another AI, and it writes the page as one HTML file.

Make a voltage drop calculator page for electricians who check a circuit's voltage drop on site.

What it calculates:
- Single-phase and DC: VD = 2 × I × R × L. Three-phase, balanced: VD = √3 × I × R × L, line to line. L is one way.
- Circular-mil form: VD = 2 (or 1.732) × K × I × L / CM, L in feet, K about 12.9 for copper and 21.2 for aluminum.
- With reactance (NEC Chapter 9 Table 9, Note 2): R cos φ + X sin φ in place of R.
- Resistance per length from NEC Chapter 9 Table 8 (stranded, uncoated copper and aluminum, 75 °C, Ω per 1,000 ft, 14 AWG to 4/0) or IEC 60228 class 1 (Ω/km at 20 °C), written into the file and editable for another temperature or a Table 9 AC value.
- Percent = 100 × VD / system voltage, against the user's limit (NEC's informational notes suggest 3 % for a branch circuit and 5 % in all, and aren't requirements), with the smallest size within it.
- Inputs: the circuit (single-phase, three-phase, DC), the system voltage, the load current, the one-way length (ft or m), copper or aluminum, the size (AWG or mm²), the resistance, K, the reactance and the power factor, and the limit in percent

How it calculates:
- Write each formula as a plain JavaScript function, with every coefficient, constant, and lookup table written into the file. No eval, no new Function, and no library that parses formulas with them.
- Load nothing from another site and send nothing anywhere: no fetch, no XMLHttpRequest, no form posts. The page computes everything in the browser.
- An iteration or a Goal Seek becomes a loop with a stated tolerance and an iteration cap; when it doesn't settle, say so on the page.
- A lookup (VLOOKUP, XLOOKUP, INDEX/MATCH) becomes a table in the file with the same match rule (exact, or the next row down for an approximate match), interpolated where the sheet interpolates.
- Round only where the sheet rounds, as Excel does (ROUND takes halves away from zero).
- Copy every name, tag, ID, and number the request gives exactly, character for character: P-101 stays P-101.
- Convert units in one place, a table of factors, and check each shown value against its unit label: watts shown as kilowatts are off by 1,000.

What it shows:
- Every input with its label and its unit, prefilled with the example's values, in text fields that open the number keyboard (inputmode="decimal"). Offer a unit switch (SI and US) where the calculation has units.
- The result first: a compact summary of the main result, large, with its unit, right under the title and any unit or method switch and above the inputs, so it shows on a phone's first screen and changes as an input does. It is the page's one aria-live="polite" region. The values in between go below the inputs, each with its name and unit, so someone can check the result against the sheet.
- The results update as soon as an input changes. An input that can't be calculated (empty, zero where it divides, outside the formula's range) gets a short message instead of a wrong number.
- Show 0 for a zero result, never -0, and the same number of decimals for every amount of money.
- A short "How it calculates" section that lists the formulas and their ranges (folded in details and summary, it keeps an arrow that turns when it opens: a summary set to display:flex loses the browser's own), and a last line with the version ("v1", and a date only when the request gives one) and "check its results against your own standard before you rely on them".

Layout: phone first, held upright (390px): labels above fields, two fields to a row, no sideways scrolling, body text 16px, every field and button at least 44px tall (min-height: 44px on each input, select, and button itself, with box-sizing: border-box). On a wide screen, three fields to a row. No images, web fonts, or CSS frameworks: one plain style block.

Write it as one HTML file with the CSS and JavaScript inside. Don't send anything people type anywhere, and don't use image files. Make it work on a phone held upright. Keep the bottom right of the screen clear: a Support button may show there.

That is the example. Keep how it works, its screens, and its feel, and change the content to fit what I want.
What I want: ___

Questions

Which resistance does it use?

NEC Chapter 9 Table 8 at 75 °C for AWG sizes, and IEC 60228 class 1 at 20 °C for mm² sizes, both written into the page. Type over the resistance for another temperature or a Table 9 AC value; choosing a size puts the table's value back.

Is the 3 % limit a code requirement?

No. NEC's informational notes suggest 3 % for a branch circuit and 5 % for feeder and branch together, and they aren't requirements. Set the limit your standard or your client asks for.

Does it handle aluminum and three-phase?

Yes. Choose aluminum, and the K form takes 21.2 in place of 12.9, or the resistance comes from Table 8's aluminum column. Three-phase uses √3 in place of 2, for the drop line to line.

Other templates

  • Class team quiz

    Enter a subject and topic, and the AI makes a team quiz page you can project in class.

  • Personality test

    Pick a theme, and the AI makes a personality test page: a few questions, a result type, and a link to share it.

  • Flashcards and quiz

    List the words as front / back, and the AI makes flashcards you can flip plus a multiple-choice quiz.

  • Memory match

    List the pairs, and you get a memory game page where players flip cards to find matching pairs.

  • Reaction time test

    You get a game page that measures how fast people tap when the screen changes, in milliseconds.

  • Catch game

    Choose what to catch and what to dodge, and you get a game page where things fall from the top of the screen.

  • Science or math simulation

    Say what to simulate and for which grade, and the AI makes a page where students move sliders and watch what changes.

  • Timer, calculator, or tracker

    Pick a timer, a calculator, or a tracker and say what it's for, and the AI makes a tool page that's ready to use as soon as it opens.

  • Event page and sign-up

    Write the event's name, date, and place, and the AI makes a page that announces it and takes sign-ups.

  • Shop menu and info

    Write your shop's name and menu, and the AI makes a page that shows the menu, prices, and hours clearly on a phone.

  • 1 in how many? roll

    List some traits and their options, and you get a page that rolls a random combination, works out how rare it is, and lets players share it.

  • 10-second score attack

    Pick the emoji to tap and the time limit, and you get a game page where players tap pop-up targets for the highest score.

  • Quiz battle

    Write the questions or name a theme, and you get a timed four-choice quiz page where fast answers score more and players share their score to challenge friends.

  • Stack tower

    Pick the emoji that rides on top and the difficulty, and you get a game page where players tap to stack moving blocks as high as they can.

  • Trip itinerary

    Describe your trip and get a draft itinerary with daily plans, a meeting spot, packing and rain options, and a page to share.

  • Field report form

    Turn a site inspection, shift handover, or incident report into a page staff fill in on a phone, add photos to, and hand on as a PDF or on WhatsApp.

  • A profile that looks like you

    Write your name, your links, and what you love, add a vibe like "pastel and a bit silly", and the AI makes a profile that looks like you.

  • Your works and world

    Write your name, your work, and your links, and the AI makes a page that shows your work large and takes commission requests through a form.

  • A link page on your own domain

    Write your name and your links, and the AI makes a page of them in sections. On the Free plan, it can show at your own domain.

  • Calculator from your sheet

    Paste your sheet's inputs, formulas, and units, or a VBA macro, and the AI makes one calculator page your team opens on a phone.

  • Pump head calculator

    A total dynamic head and pump power calculator for water lines, in SI or US units, that the AI fits to your pipe table, your units, and your company.

  • Quote calculator

    A price calculator for your clients or your staff, built from your price table, options, minimum order, and tax, that gives a quote on any phone.

  • NPSH available calculator

    An NPSH available calculator your operators open on a tablet: from the tank or a suction gauge, with the margin over the pump's NPSHr, in SI or US units.

  • Duct size calculator

    An HVAC duct sizing calculator for phones: the round size by equal friction and a velocity limit, the equal-friction rectangle, and the drop along the duct.

  • Manning's equation calculator

    A Manning's equation calculator for open channels and part-full pipes: flow from depth or normal depth from flow, with the Froude number and critical depth.

  • Slurry pipeline calculator

    A settling slurry calculator: deposition velocity by three correlations, head loss by Durand-Condolios or Wilson-GIW, and the pump's head and power.