Antenna modeling with NEC, on one screen
NEC Workbench is a free program for building, running and tuning NEC antenna models. Edit the wires, drag a variable and watch the antenna move, then read SWR, gain and patterns right beside it.
Version 0.1.0-alpha.4, an early test release: please send feedback. Two NEC-2 solvers, nec2c and OpenNEC, and the example models come with it, so there is nothing else to install.
- 2 m three-element Yagi at 145.2 MHz
- Z 51.85 − j0.14 Ω
- SWR 1.04
- Gain 7.37 dBi
- F/B 18.1 dB
Open source, and meant to stay that way
NEC Workbench is not trying to replace 4nec2, EZNEC Pro or AutoEZ. They are good tools that many of us learned on, but they are closed source: only their authors can fix them, extend them or keep them running on new computers.
NEC Workbench is open source under the GNU GPL. The goal is a modeling program the amateur radio community maintains and improves together, so it keeps working long after any one person moves on. Found a problem or want a feature? Open an issue, or send a change on GitHub.
What it does
NEC Workbench reads and writes ordinary NEC decks, so models from EZNEC exports, 4nec2 and the NEC-2 manuals open as they are. It runs the solver for you and lays the results out where you can compare them.
Two solvers are included: nec2c, the default, and OpenNEC. Pick either from the list beside Run, or point Workbench at your own build, such as an OpenNEC compiled with BLAS for large models.

Tune with sliders
Give a length a name in the deck and it becomes a slider. Drag it and the wires move as you go; let go and the deck changes once, as one step you can undo.
Turn on Live and each release runs a quick single-frequency solve, so the numbers follow the antenna.

See the antenna and its currents
Top, front, side and 3D views of the wires, with the feed point and loads marked. After a run, each wire is coloured by its current.
Wires, sources, loads, transmission lines and networks are edited in tables, in feet or metres, and a checker points out problems before you run.

Patterns in 2D and 3D
Azimuth and elevation plots, a 3D pattern you can turn and zoom, impedance and current tables, and the raw NEC output when you want to check a number at its source.

Whole-band results and checks
Sweep a band and plot SWR, gain and front-to-back against frequency. Run the average gain test and a convergence check to see whether the model can be trusted.
Let the optimizer tune it
Tell the optimizer what a good antenna means: lowest SWR across the band, SWR under 2 with the most gain, best front-to-back, or a mix you weight yourself. Tick the variables it may change, give each a range, and it builds and solves candidate antennas until it finds the best one. It runs in its own window, so the model stays in view while it works.
- Detuned 2 m Yagi three lengths, 144–148 MHz
- Worst SWR 4.1 → 1.92
- Gain 8.33 dBi
- Candidates 108

Check before you keep it
Open any candidate to see its SWR, impedance and patterns, with the starting model dashed behind it. Nothing changes in your model until you apply a candidate, and applying is one step you can undo.
Four search methods share the same goals and review: a parameter sweep to see one variable's whole range, a simple adaptive search, Nelder–Mead for a few variables that interact, and Differential Evolution when the best answer could be anywhere in the range.
What's coming
These are plans, not promises. Want one of these sooner, or have an idea that isn't here? Say so on GitHub.
Next up
- Smith chart of the feedpoint impedance
- Measured
.s1pfiles overlaid on the Smith chart - Matching: transmission-line, stub and L-network matching from the feedpoint impedance
- NEC-4 and NEC-5: run a licensed copy you supply
- A faster optimizer that solves several candidates at once
Planned
- Tolerance analysis: how much the best design suffers from small building errors
- Pass/fail limits in the optimizer, alongside weighted goals
- Two-variable sweeps shown as a heat map
- CSV export of the result tables
- Currents and fields scaled to a chosen input power
- Near-field results and plots
- Antenna templates and a guided antenna builder
- Standalone transmission-line, stub and phasing-line calculators
Further out
- Signed installers, so Windows stops warning on first launch
- More polarization views
- Accessibility and theme options
A Mac version is coming. Like to help build or test it? Reach out on GitHub.
Download
The current release is 0.1.0-alpha.4. Downloads come from the project's GitHub Releases page, where older versions and checksums are kept too.
Windows
For 64-bit Windows 10 and 11. Unzip the folder anywhere and run nec-workbench.exe. Keep the files together: the solvers are in solvers and the examples in examples.
The program isn't digitally signed yet, so Windows may say "Windows protected your PC" the first time. Click More info, then Run anyway.
Get the Windows ZIPLinux
An AppImage for 64-bit Linux, built on Ubuntu 22.04; it needs a distribution of similar age or newer.
Make the file executable (chmod +x, or Properties › Allow executing) and run it.
There's no macOS version yet, but one is coming. You can build from source on any platform Qt 6 supports; the steps are in the README.
This is an early test release, so expect the layout to change. If something goes wrong, please open an issue with the deck that shows it.
Documentation
- User guide
A tour of the main window, editing models, running analyses and reading results.
- NEC card support
Which NEC cards Workbench reads, edits and passes to the solver.
- Validation reference
Every check the model checker runs, and what each message means.
Built on
NEC Workbench is the program you work in; the antenna calculations come from NEC-2 engines that run beside it.