The calculator window
The calculators design a part of a circuit from what you know, check it against its limits, and then place it in your circuit with the analysis and the measurements that check it in the simulator. There are 17, in four groups. Each has a Simple view, the quick calculator, and an Advanced view, the full design. This chapter is the window and everything the 17 share. Each calculator has its own chapter after it.
48.1Opening a calculator
| From | What happens |
|---|---|
| or Ctrl+Shift+C | Opens the picker Find a calculator. The key works anywhere in the app, also while the calculator window is open: the picker opens on top of it, and Esc goes back to the window. Only the Console’s text box keeps the key while it has the focus. |
| Opens the window on the calculator you had open last. The first time it is the low pass / high pass filter. | |
| The command palette (Ctrl+K) | One entry per calculator, Calculator: Trace current and width and so on. Type calculator to list them. |
| Right-click a part, Calculate… | Selects the part and opens the picker, which lists first the calculators that fit it, with its values filled in. |

The picker has a search box (Find a calculator: filter, LED, via, impedance, dB…). With the box empty it lists:
- From your selection, when parts or wires are selected: up to four calculators that fit them, each with the selected names and why it fits (Fills resistance from R3). Opening one fills in those values. Two resistors suggest the divider with R1 from the first and R2 from the second, a resistor and a capacitor an RC low pass at their cutoff, a resistor and an inductor an RL low pass, an inductor and a capacitor the LC calculator, and a selected transmission line or wire the trace impedance or the wire gauge calculator.
- Recent: the last three calculators you opened, newest first. 1, 2 and 3 open them from the empty box. Recent is kept between sessions.
- Every calculator, under Circuit, Parts, PCB and Units, with the first sentence of what it does.
Typing filters the list: every word you type must appear in the title, the description, the calculator’s search words or the group name, in any case. Title matches come first. With nothing found it says No calculator matches. Try "filter", "led", "via", "dB". Up and Down move, Enter opens the highlighted calculator, Esc closes the picker, and the mouse highlights and opens as well.
48.2The calculators
| Group | Calculator | What it works out | Chapter |
|---|---|---|---|
| Circuit | Voltage divider | Any one of Vs, R1, R2 and Vout from the other three, or the best standard pair. Advanced: worst case over tolerance and temperature, an ADC input as the load, ratings and surge. | Voltage divider |
| Circuit | Low pass / high pass filter | Passive RC, RL and LC ladder filters. Advanced: active Sallen-Key and MFB filters of order 1 to 8 with the op-amp, step, delay and tolerance. | Low pass and high pass filters |
| Circuit | LC resonance and Q | Resonance, characteristic impedance, Q and bandwidth of a tank or series circuit. | LC resonance and Q |
| Circuit | Reactance | XL and XC at a frequency, the part for a reactance, the frequency for a reactance. | Reactance |
| Circuit | Time constant | RC and L/R time constants, the step response and the time to reach a level. | Time constant |
| Circuit | Attenuator pads | Pi and T pads. Advanced: bridged T, minimum-loss L, unequal ports, power per resistor, tolerance and parasitics. | Attenuator pads |
| Parts | LED resistor | Series resistor for an LED string. Advanced: corners of supply, Vf bin and temperature, current sink and CC regulator, parallel strings, PWM and light. | LED resistor and LED driver |
| Parts | Op-amp gain | Inverting, non-inverting, difference and summing stages. Advanced: the op-amp picker, DC error budget, bandwidth, phase margin, noise and tolerance. | Op-amp gain |
| Parts | 555 timer | Astable and monostable. Advanced: the exact charge model of four chips, design from a target, corners and tolerance. | 555 timer |
| Parts | Buck and boost stage | Duty, inductor, capacitors and peak current. Advanced: the inductor and regulator pickers, three peak currents, losses, power stage response. | Buck and boost stage |
| Parts | Crystal load capacitors | The two load capacitors, pulling and the gain margin of the oscillator. | Crystal load capacitors |
| Parts | Heatsink and junction | Junction, case and heatsink temperatures. Advanced: Foster stages, interface materials, PCB copper, pulses, a shared heatsink. | Heatsink and junction |
| PCB | Trace current and width | Width for a current and rise (IPC-2221, IPC-2152). Advanced: corners, plane and board, fusing, pulses, insert in a wire. | Trace current and width |
| PCB | Via current and parasitics | R, L, C, current and thermal resistance of a via. Advanced: plating, stubs, arrays, return vias. | Via current and parasitics |
| PCB | Trace impedance | Microstrip, stripline and differential pairs. Advanced: stack-up, roughness, loss, crosstalk and a TDR check. | Trace impedance |
| PCB | Wire gauge and fusing | AWG and mm² wire: resistance, drop, current from a heat balance, fusing. Advanced: bundles, insulation, faults. | Wire gauge and fusing |
| Units | dB and unit converter | dBm, dBW, dBV, dBu, volts and watts. Advanced: levels with crest factor, noise floor, an RF chain with noise figure. | dB and unit converter |
48.3The window

| Part of the window | What it holds |
|---|---|
| Top bar | Where you are (Tools › Calculators › Voltage divider), Find a calculator with its key (opens the picker), Full screen with F11, and Close. |
| The list on the left | A search box Search calculators (Enter opens the first match), the calculators under Circuit, Parts, PCB and Units (the description is the tooltip, the open one is highlighted), and All calculators at the end. |
| The middle | The calculator, in its Simple or Advanced view. Its title row holds a large icon, the title, the Simple | Advanced switch, and on the right the chip Results checked by the simulator (Simple, when a button places a circuit and runs it) or the Advanced view’s own choices (stage, pad, mount and so on). |
| Related on the right | The calculators that go with this one, See all calculators, and the ways to open the window. Hidden in full screen and in a window narrower than 1400 px. |
| All calculators | An overview page: each group with a card per calculator (icon, title, what it does). Click a card to open it. |
The window is 1480 × 920 px when the app window allows it. Narrower than 1100 px the inputs and the results stack, and narrower than 820 px the list is hidden. Esc, Close or a click on the dark background closes it. Opening another calculator scrolls back to the top.

48.4Simple and Advanced

- Two large buttons beside the title switch the view: Simple (Today’s calculator: the main values and one result set) and Advanced (Corners, checks, parts, plots and the library pickers). All 17 calculators have both.
- The window remembers the view of each calculator, also after a restart.
- A value typed in one view is the same in the other at once: the supply of the divider, the width of a trace, the cutoff of a filter. A field that is the SOLVED one is not overwritten by an edit in the other view. The first time the Advanced view opens, it takes only the Simple values you changed. A Simple value left at its default does not replace the Advanced default, and the two views start from different examples: the Simple trace is 3 A at a 10 °C rise, the Advanced one 8 A at 20 °C. A quantity only one view has, such as the Simple trace’s IPC method or the Advanced trace’s plating, stays in that view. Each calculator’s chapter lists the values the two share.
- The Simple view has a unit menu on most fields. The Advanced view shows each field in a fixed unit written after the box.
- Both views keep their values while the app runs, also when the window is closed and opened again.
- Reset to the defaults at the bottom of the Simple inputs clears the Simple values, their unit choices and the Advanced values of that calculator. The Advanced view has no reset button of its own.
48.5The Simple view
The left card holds the inputs: choices first (buttons in a row, one pressed), then the fields, then Reset to the defaults. Some choices change the defaults of the fields: switching the buck stage to boost swaps its voltages. The right side shows the formulas as fractions, the result tiles (the main result in orange), warnings in amber and plain notes. Under them are the drawings and plots, the buttons, and the method and its source.
SOLVE. A field that can be worked out has a small SOLVE label above its box (Work this value out from the others). Press it on the value you want to find: the field becomes read-only and shows the result, the label reads SOLVED (This value is worked out from the others), and the field that was solved before keeps its last result as a typed value. One field is solved at a time. Each calculator opens with its own field solved, for example the divider’s Vout and the trace’s width. When a choice hides the solved field, the calculator’s default field is solved instead.
Values from the circuit. A field that can read the circuit has a second small label beside its name, which says what it reads. A click copies the value in:
| Label | What it copies |
|---|---|
| from R3 | The value of the selected part (the first, or for the divider’s R2 the second). |
| from R3, RMS or from wire, RMS | The RMS current of the selected two-pin part or wire, measured over the live view while the window is open. |
| from R3, peak | The peak current. |
| from Q1, mean | The mean power the part dissipates. |
Typing values. Fields take SI prefixes and units, and the engineering forms 4k7, 10k, 1.5M and 4R7, with the unit letter as the decimal point (3V3 is 3.3 V, 1A5 is 1.5 A):
- Prefixes: T, G, M (mega), k, m (milli), u, µ (micro), n, p, f.
megin any case is mega. A trailing unit (F, Hz, V, Ω, ohm) is allowed.1e-3works. - A number with no unit is in the unit the field’s menu shows.
- A number written with its prefix or its base unit is that value whatever the menu shows:
4k7or470Ωin a field shown in kΩ is 4.7 kΩ or 470 Ω. - A number written with one of the menu’s units is in that unit, and the menu switches to it:
10mil,1in,3cm,1oz,0.25mm. A unit that is itself a prefix letter does not count:2mstays 2 milli. - Text that is not a number (
1,5, or3V3in a resistor field), an emptied field or a field left as it was puts back the value it had before. - Results follow while you type a whole number. Text that ends in a letter waits until you press Enter or leave the field. While you edit, the field’s unit stays put, so
2000in a kHz field does not jump to MHz. - Until you pick a unit yourself, the menu shows the largest unit that fits the value. A value outside the field’s range turns the field red. Nothing is clamped.
Copy values puts the title, every visible field (R1 (top): 4.7 kΩ, with (solved) on the solved one) and every result on the clipboard as text, one per line.
48.6The Advanced view

| Part | What it is |
|---|---|
| Head choices | Buttons in the title row that change the whole design: the stage (buck or boost), the pad type, the mount, the driver, and so on. Each chapter lists them. |
| Tabs | One tab per section, Verify in simulation always last. A dot on a tab says how its checks stand: green passes, amber marginal (at least one warning), red fails (at least one failing check). A tab without checks has no dot. |
| Input groups | On the left, the groups that belong to the tab shown. Click a group’s title to fold it. A badge beside the title sums the group up (Met, needs 214 kHz, 2 × 3). |
| Number fields | Each in a fixed unit written after the box. A plain number is in that unit, and a comma works as the decimal point (1,5). A number with a prefix (4.7k, 470n, 10uH) is in the base unit. Enter or leaving the field takes the value, Esc drops the edit. A value outside the range turns red. |
| SOLVED and PART | A field marked SOLVED is worked out from the others. A field marked PART comes from a part picked from the library. Both are read-only. |
| Result tiles | Four to a row: the label, the value (orange for the main result, amber or red when a limit is near or passed) and a short line under it. |
| Checks | One row per check: a green tick (passes), an amber triangle (marginal), a red cross (fails) or a blue circle (a note), what is checked, the value and its limit, and the margin. The card title says Passes, Marginal or Fails for the worst row. Each chapter gives every check with its limits. |
| Warnings | Each gives the fact, the number and the fix: Use R ≥ 330 Ω (10 % margin) or a current sink. |
| Parts lists | What to order: the label on the left, the value on the right, the figures that matter in orange. Copy copies it as a line of text. |
| Tables and plots | Tables have a highlighted row (the chosen pair, the worst corner). Plots draw the curves with a legend line, dashed for a second case, limit lines in red, bands for a spread and markers at the working point. |
| Source tags | A small label after a figure says where it comes from: model (green, read from the vendor SPICE model), datasheet (blue), header (purple, from the model file’s header, its description or the case code) and est. (amber, an estimate). A figure the catalogue doesn’t have shows not in catalog and is never guessed. |
48.7Full screen

- F11 or Full screen in the top bar gives the calculator window the whole app window, with an orange line along the top. The button then reads Window. F11 or Window goes back. The choice is kept after a restart. Esc and Close close the whole window.
- The list of calculators folds to a column of icons (the description is the tooltip) and the Related column goes.
- The Advanced view has no tabs: every input group is in one column on the left, and every card in a grid of three columns that fills the screen with no page scroll. A card with more rows scrolls inside, a plot fills its card, the head choices show their labels, and the Verify table puts its Method column in a note under it.
- Buttons that sit on the Verify tab in the window are also on a card in full screen, so every circuit can be placed from there.
- The Simple view is the same, wider.
48.8Parts from the library
Three Advanced views pick real parts from the model library: the inductor and the regulator of the buck and boost stage, and the op-amp of the op-amp gain stage. The picker takes the place of the tabs, inputs and cards while it is open, and the title row with the switch stays. It has:
- A head with ‹ Back (to the tabs), the title (Inductor from library, Regulator from library, Op-amp from library), what the design needs, and the choice of how to rank.
- Filters on the left, set from the design when the picker opens.
- The ranked table: each row is the whole design worked out with that part.
- The sheet of the selected part, with the source of every figure.
- Use this part, which fills the calculator’s fields with the part’s figures (marked PART) and runs every check again, and Place with this model, which places the vendor part with its own model.
Each picker’s filters, ranking and columns are in its calculator’s chapter.
48.9Placing the circuit and checking it
The buttons that place a circuit work the same in every calculator, in both views:
- The circuit is drawn with library symbols and wires, with its source, labels and probes, at a free spot near the middle of the view, at least three grid squares from anything already there. With no room, it goes to the right of the circuit and the view moves to it.
- Names already in use are changed: V1 becomes V2, R_LED becomes R_LED2, OUT becomes OUT2, the probe V out becomes V out2. The change follows into the probes, the analysis source, the measurement signals (V(OUT) becomes V(OUT2)) and the note the button shows.
- Everything is one undo step, named after the calculator and the button: the parts, wires, labels and probes, the analysis setup, and the measurements (a measurement of the same name is replaced, the others stay). One Ctrl+Z removes it all.
- The window closes, the new parts are selected, and the view changes to the one the button asks for: the split view of schematic and Analysis when an analysis runs, or the live view. A message says what was placed or set (Placed V1, R1, C1.) or gives the button’s own note, for example OUT must read 2.4898 V.
- The analysis is stored where the Analysis view keeps it, merged over what the circuit had: transient, AC sweep, DC sweep, operating point, tolerance (worst case or Monte Carlo) and noise. Then it runs and the plot fits the result. In a circuit that already had probes, the calculator’s probes get a scope of their own and the other probes are hidden from the Analysis plot (not deleted).
- The measurements carry the calculator’s own numbers as their limits, so the Measurements list marks each one PASS or FAIL and its header shows All pass when every one passes.
- Apply to the selected … writes the result into the selected parts as one undo step (Set R3 to 4.7 kΩ.).
- A button runs one placement at a time and is greyed while it works. If nothing can be placed it says Nothing to do with these values., and an edit the circuit refuses says why.

Verify in simulation, the last tab of every Advanced view, holds a table Calculator vs simulation: each check, the calculator’s value, the analysis and measurement that check it, and the limit. A row the simulator cannot check says not simulated and why (the engine has no photometric model for an LED’s light, for example). Under the table are the buttons that place each check’s circuit and run it.
48.10When a calculator cannot work the values out
| You see | What it means |
|---|---|
| "These values give no result (…). Check them: a zero, a negative or a very large value is outside what this calculator can work out." | A Simple calculator found no result. No tiles are shown. |
| "Some results are not defined for these values. Check zero, negative or very large inputs." | Some results are shown as –. The calculator never shows NaN or infinity. |
| "The Advanced view cannot work these values out (…). Change a value or reset the Advanced values." | The Advanced view met values it cannot handle. The window stays open. reset the Advanced values puts that calculator’s Advanced values back to its defaults, and changing a value in the Simple view tries again. |
| "This calculator cannot work these values out (…). Change a value or reset the values." | The same for the Simple view. reset the values is Reset to the defaults. |
| "The Advanced view could not load: …" | The Advanced view’s code did not load. Close and open the window again. |
48.11Keys in the calculator window
| Key | What it does |
|---|---|
| Ctrl+Shift+C | The picker, on top of the window. Esc comes back. |
| F11 | Full screen on or off. |
| Esc | Closes the window (in the picker: back to the window). In an Advanced number field it drops the edit. |
| Enter | In a field: takes the value. In the list search: opens the first match. Elsewhere: presses the orange button. |
| Tab / Shift+Tab | Moves through the window. The focus stays inside it. |
| Up / Down, 1 to 3 | In the picker: move, and open a Recent calculator. |
| Ctrl+K | The command palette, with every calculator. |