Skip to content
View in the app

A better way to browse. Learn more.

Ham Radio Base -Powered By Ham CQ DX

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Solar
SFI 147
SN 89
A 8
K 1 Quiet
X-Ray C3.2
Wind 382.1 km/s
Aurora 3
Updated 00:00 UTC HamQSL · N0NBH
Day 80/40m Fair 30/20m Good 17/15m Good 12/10m Fair
Night 80/40m Good 30/20m Good 17/15m Good 12/10m Poor

Callsign Lookup
_
Vanity Call Signs Available
Enter filters above and click Search.
ⓘ Callsign lookups are in real time via the FCC database. Vanity callsign availability is refreshed daily at 6:00 AM CST. The vanity search may be unavailable for a few minutes during this update.
Live DX spots
Live DX Spots — 70cm via PSKReporter · scroll or pinch to zoom
Band
Mode
Time
Loading map data…
MHz DX Spotter Info
Recent spots
Select a band above to load spots
Ready — select a band to fetch live spots

Antenna HubAntenna Software › AutoEZ Guide

AutoEZ Antenna Modelling: Excel-Based NEC2 Guide

AutoEZ is a Microsoft Excel-based front-end for the EZNEC NEC2 antenna modelling engine, written by Dan Maguire AC6LA. It transforms Excel into a parametric antenna design environment where formulas drive geometry, variables control dimensions, and a full suite of sweeps, optimisations, and antenna comparisons run automatically from a spreadsheet interface. For operators who spend serious time with antenna modelling, AutoEZ dramatically reduces the repetitive work of systematic antenna design exploration.

Platform: Excel + EZNEC (Windows)
Cost: Free (EZNEC licence required)
Author: Dan Maguire AC6LA
Website: ac6la.com/autoez.html
What AutoEZ Is and Why It Matters

Standard antenna modelling software — EZNEC, MMANA-GAL, 4NEC2 — requires the operator to manually change parameters and re-run simulations one at a time. Want to see how gain changes as element diameter increases from 12 mm to 50 mm in 2 mm steps? That is 20 manual re-runs in a standard NEC2 tool. In AutoEZ, that sweep runs automatically and the results plot directly in Excel with no manual intervention required. Want to compare twelve different antenna configurations side by side? AutoEZ runs all twelve and generates a comparison table in a single click.

AutoEZ works by using Excel's COM automation interface to control EZNEC, passing parameters to the NEC2 engine, retrieving results, and processing them using Excel formulas and charts. The antenna geometry is defined in Excel cells using formulas rather than fixed numbers — so when a variable changes (say, the element length or the antenna height), all dependent geometry updates automatically through the formula chain, and a new NEC2 run produces the corresponding results. This is parametric design: the antenna description is a set of relationships and rules rather than fixed numbers, and exploring the design space becomes as simple as changing a cell value.

What AutoEZ adds to EZNEC

Parametric variable-driven geometry. Automated frequency sweeps producing gain, impedance, and SWR vs. frequency tables and charts. Side-by-side antenna comparison. Automated optimisation using Excel's Solver add-in. Batch processing of multiple antenna configurations without manual intervention.

What AutoEZ requires

A licensed copy of EZNEC (any version from EZNEC 5 onward). Microsoft Excel 2010 or later (including Office 365). The AutoEZ add-in downloaded from ac6la.com and installed as an Excel add-in. Basic familiarity with Excel formulas and with antenna modelling concepts.

Who benefits most

Operators doing systematic antenna design exploration, comparing multiple antenna options for a specific installation, or verifying published designs across a range of operating conditions. AutoEZ rewards operators who are comfortable with Excel and want to extract maximum value from their EZNEC licence.

Installing and Configuring AutoEZ
1
Verify prerequisites — EZNEC and Excel

AutoEZ requires EZNEC version 5.0 or later and Excel 2010 or later. EZNEC must be installed and licenced — AutoEZ launches EZNEC automatically in the background and communicates with it via COM automation. The EZNEC Demo version cannot be used with AutoEZ because the demo disables the COM interface. If you do not have EZNEC, consider using 4NEC2 with its own built-in parameter sweep functionality, or purchase EZNEC from W7EL at eznec.com.

2
Download AutoEZ from ac6la.com

Go to ac6la.com/auto.html and download the AutoEZ installer package. The download includes the AutoEZ.xlam add-in file, sample antenna workbooks demonstrating various AutoEZ features, and a comprehensive PDF user guide. The user guide is essential reading before your first AutoEZ session — AutoEZ has a learning curve and the user guide explains the workflow clearly.

3
Install AutoEZ as an Excel add-in

In Excel, go to File → Options → Add-ins → Manage Excel Add-ins → Go. Click Browse and navigate to the AutoEZ.xlam file. Check the box next to AutoEZ and click OK. An AutoEZ menu appears in Excel's ribbon. Verify installation by clicking AutoEZ → About — you should see the version information and a link to the AC6LA website.

4
Open a sample workbook and test the connection

Open one of the sample antenna workbooks included with AutoEZ. Click AutoEZ → Run NEC. AutoEZ launches EZNEC in the background, passes the antenna geometry from the Excel workbook, runs the NEC2 calculation, and retrieves the results back into Excel. If this completes without error, AutoEZ is correctly configured. If EZNEC fails to launch, verify the EZNEC installation path is correctly specified in AutoEZ's Settings (AutoEZ → Settings → EZNEC Path).

The AutoEZ Workbook Structure

An AutoEZ workbook is an Excel file with a specific sheet structure that AutoEZ reads to build the antenna model and configure the NEC2 run. Understanding this structure is the key to creating your own AutoEZ models rather than just using the provided samples.

The Variables sheet

The Variables sheet is where you define named variables that drive the antenna geometry. Each variable has a name, a current value, and optionally a range (minimum and maximum) for sweep and optimisation operations. Variables can represent element lengths, heights above ground, element diameters, spacing values, or any other parameter that you want to control parametrically.

Variables Sheet — Example for a half-wave dipole Name Value Min Max Description Freq 14.175 14.0 14.35 Design frequency (MHz) Lambda =300/Freq Wavelength (m) — formula ArmLen =Lambda*0.97/4 Each arm length (m) Height 10.0 6.0 20.0 Antenna height above ground (m) WireDia 0.002 0.001 0.025 Wire diameter (m) (Cell formulas reference variables by name using defined names)

The power of the Variables sheet is that ArmLen is defined as a formula referencing Freq — change Freq and ArmLen automatically recalculates, the geometry sheet updates, and the next NEC2 run uses the correct dimensions for the new frequency. This is the parametric chain that makes AutoEZ so powerful for systematic design exploration.

The Wires sheet

The Wires sheet defines the antenna geometry in NEC2 GW (Geometry Wire) card format, but using Excel formulas that reference the Variables sheet rather than fixed numbers. Each row defines one wire segment: start coordinates (X1, Y1, Z1), end coordinates (X2, Y2, Z2), wire diameter, and segment count.

Wires Sheet — Half-wave dipole using variable references Wire X1 Y1 Z1 X2 Y2 Z2 Dia Segs 1 =-ArmLen 0 =Height 0 0 =Height =WireDia 11 2 =0 0 =Height =ArmLen 0 =Height =WireDia 11 Change Height in Variables sheet → both wires update automatically Change Freq → Lambda → ArmLen → both wire coordinates update

The Sources and Loads sheets

The Sources sheet defines feed points in NEC2 EX card format. Like the Wires sheet, it uses formula references to variables. The Loads sheet defines resistive or reactive loads (LD cards) at specific segments — used for modelling loading coils, loss resistors, or trap circuits.

The Results sheet

AutoEZ writes all NEC2 output to the Results sheet after each run. This includes gain, take-off angle, front-to-back ratio, feed point impedance, SWR, and radiation pattern data. Charts on the Results sheet update automatically from this data, providing immediate visual feedback on each design iteration.

Interactive Calculator: AutoEZ Variable Formula Generator

AutoEZ Variables Sheet Formula Generator

Generates the Variables sheet entries and Wires sheet formulas for common antenna types, ready to paste into AutoEZ.

Running Parametric Sweeps

The parametric sweep is AutoEZ's most frequently used feature. It varies one or more variables through a specified range, runs the NEC2 simulation at each combination, and collects the results into a table. The sweep results update the Charts sheet automatically, producing gain vs. frequency, SWR vs. frequency, or gain vs. height curves without any manual data collection.

Single-variable sweep: Frequency sweep

The most common sweep varies frequency across the operating band. Set Freq in the Variables sheet as the sweep variable with a range spanning the operating band and a step size giving approximately 10–20 points across the band. Click AutoEZ → Sweep → Variable Sweep. AutoEZ runs one NEC2 calculation per frequency point and plots the results. For a 20 m dipole sweeping from 14.000 to 14.350 MHz in 0.025 MHz steps (14 runs), the entire sweep completes in under 30 seconds on a modern PC.

Single-variable sweep: Height optimisation

Sweep the Height variable from 6 m to 20 m in 0.5 m steps while monitoring gain and take-off angle. The resulting chart shows the classic relationship between height and take-off angle — and reveals the heights at which the main lobe splits into two lobes. This sweep answers the question "how much does raising the antenna by 2 m actually improve my DX signal?" with real NEC2 data for your specific antenna at your specific site.

Two-variable sweep: Element diameter vs. bandwidth

Sweep both element diameter (from 12 mm to 50 mm in 2 mm steps) and height (from 8 m to 15 m in 1 m steps) simultaneously. This produces a matrix of results showing bandwidth and gain for every combination. AutoEZ organises these results in a pivot-table-style layout and can produce 3D surface charts in Excel showing how gain varies across both dimensions simultaneously.

Antenna Comparison with AutoEZ

One of AutoEZ's most powerful features is the ability to run multiple antenna configurations in sequence and compare their results side by side. This is ideal for answering questions like "which performs better on 40 m: my dipole at 10 m or an inverted-V with the apex at 12 m?" without manually re-running and recording each simulation.

1
Create a comparison table in Excel

In the Results or a separate Comparison sheet, set up a table with one column per antenna and rows for each performance metric: gain at design frequency, take-off angle, SWR at band edge frequencies, SWR 2:1 bandwidth, and feed point impedance. These cells will receive results from successive AutoEZ runs.

2
Configure each antenna variant in the Variables sheet

Create named ranges or a table of configuration sets — each row representing one antenna configuration (different heights, different element types, different lengths). AutoEZ's Scenarios feature can store and recall multiple antenna configurations, cycling through each one automatically.

3
Run the AutoEZ Comparison sweep

With multiple scenarios defined, AutoEZ → Sweep → Compare runs each scenario in sequence, writes the results to the comparison table, and produces overlay charts showing all antennas' performance curves on the same axes. The visual comparison immediately reveals which antenna performs best at which frequency and which height.

4
Export results for documentation

Excel's native chart and table export features let you save comparison results as PDF, PNG, or Word document — useful for documenting antenna design decisions, sharing designs with other operators, or producing installation plans showing expected performance at different site configurations.

AutoEZ Optimisation with Excel Solver

AutoEZ integrates with Excel's built-in Solver add-in to perform NEC2-driven optimisation. Solver adjusts one or more variables to minimise or maximise a target cell — typically gain at the design frequency — subject to constraints such as SWR limits and element length bounds. This is the AutoEZ equivalent of the genetic optimiser in YO, but driven by Solver's gradient-descent algorithm and running real NEC2 calculations for each evaluation.

Setting up Solver optimisation in AutoEZ

  • Enable the Solver add-in in Excel (File → Options → Add-ins → Manage: Excel Add-ins → check Solver Add-in)
  • In the AutoEZ workbook, identify the objective cell (e.g., gain at design frequency) and the variable cells to optimise (element lengths, spacing)
  • Set the Solver objective to maximise gain, with constraints: SWR at design frequency ≤ 1.3 (cell reference), SWR at band edges ≤ 2.0, and each variable within its physical bounds
  • AutoEZ provides a "Solver Callback" function that Solver calls after each variable change — this callback triggers a new NEC2 run and updates the result cells that Solver uses to evaluate the objective function
  • Click Solve — Solver adjusts variables, AutoEZ runs NEC2 after each adjustment, and Solver converges on the optimum within the specified constraints
Solver vs. YO optimiser: AutoEZ with Solver uses a gradient-descent algorithm that is faster than YO's genetic algorithm but more prone to finding local optima. For best results with AutoEZ/Solver, start from a good initial design (from YO or published dimensions) and use Solver for fine-tuning. For finding globally optimal designs from scratch, YO's genetic algorithm is more reliable.
Practical AutoEZ Workflows

Workflow 1: Dipole height optimisation for DX

Variables: Height (swept 6–20 m). Fixed: Freq = 14.175 MHz, ArmLen = λ/4 × 0.97. Results swept: Gain (dBi) at 15° elevation, take-off angle (degrees). Output: Chart of gain at DX angles vs. height. Decision: Find the height giving maximum gain at 10–20° elevation for your target DX region.

Workflow 2: Fan dipole bandwidth validation

Variables: Freq (swept 7.0–7.3 MHz, then 14.0–14.35 MHz). Multiple scenarios for three fan arms at different lengths. Results: SWR vs. frequency for each arm combination. Output: Side-by-side SWR curves showing which arm-length combination minimises SWR across both bands simultaneously.

Workflow 3: Vertical antenna ground radial system comparison

Variables: NumRad (4, 8, 16, 32 radials). Fixed: antenna height = λ/4, frequency = 7.15 MHz. Results: Feed point resistance (=R_rad + R_ground), efficiency, gain. Output: Table and chart showing efficiency vs. radial count. Confirms the point of diminishing returns where adding more radials produces negligible improvement.

Workflow 4: Yagi element diameter sensitivity analysis

Starting from a YO-optimised 5-element Yagi design, import the NEC2 file into EZNEC, then open AutoEZ and set up a sweep of element diameter from 12 mm to 50 mm. Results: SWR 2:1 bandwidth vs. diameter, gain vs. diameter. Output: Chart confirming that increasing element diameter from 25 mm to 38 mm adds 200 kHz of bandwidth with negligible gain penalty — validating the use of thicker tubing despite its higher cost and wind loading.

Frequently Asked Questions

Is AutoEZ free?

AutoEZ itself is free — download from ac6la.com at no cost. However, it requires EZNEC, which is a commercial product available from W7EL at eznec.com. EZNEC Standard is priced around $89 US and handles models up to 500 segments. EZNEC Plus and Pro/2 handle larger models. A free EZNEC Demo version is available but cannot be used with AutoEZ due to disabled COM automation.

Can AutoEZ work with 4NEC2 instead of EZNEC?

AutoEZ is specifically designed to control EZNEC via COM automation and cannot directly control 4NEC2. However, you can use AutoEZ to generate NEC2 format files (by setting up the antenna in the workbook and exporting), then import those files into 4NEC2 for verification. Some operators use this two-step approach to get AutoEZ's parametric sweep capability with 4NEC2's more advanced ground modelling.

How long does an AutoEZ sweep take?

Each NEC2 calculation takes EZNEC approximately 0.1–2 seconds for simple models (under 100 segments) on a modern PC. A 20-point frequency sweep takes 2–40 seconds. A 2D sweep (20 frequencies × 10 heights = 200 calculations) takes 20 seconds to several minutes. Complex models (200+ segments) can take 30–120 seconds per calculation — factor this in when planning sweep sizes.

What Excel version does AutoEZ need?

AutoEZ works with Excel 2010, 2013, 2016, 2019, 2021, and Microsoft 365 on Windows. It does not work with Excel for Mac because the COM automation interface to EZNEC is Windows-only. AutoEZ also does not work with LibreOffice Calc — the COM automation layer is specific to Microsoft Excel's VBA environment.

Can I share AutoEZ workbooks with other operators?

Yes — AutoEZ workbooks are standard Excel files (.xlsx or .xlsm) that can be shared by email or cloud storage. The recipient needs AutoEZ installed to run NEC2 calculations, but can open and read the workbook, view existing results, and edit formulas without AutoEZ. The sample workbooks provided with AutoEZ are an excellent starting point — many operators share customised versions of these for specific antenna types.

How does AutoEZ compare to the optimiser in MMANA-GAL?

MMANA-GAL's built-in optimiser runs a gradient-descent optimisation within MMANA's interface — straightforward to use and no Excel required. AutoEZ with Solver offers more flexibility in defining the objective function and constraints (because Excel formulas can compute complex merit functions), and AutoEZ's parametric sweep is far more powerful than MMANA's optimiser for systematic exploration. For most users who need basic optimisation, MMANA's built-in tool is sufficient; for systematic comparison and complex multi-variable studies, AutoEZ provides significantly more capability.

Related Guides

Affiliate Disclosure: As an Amazon Associate, Ham Radio Base earns from qualifying purchases. Some links throughout this website may be affiliate links. If you purchase a product through one of these links, we may earn a commission at no additional cost to you. Your support helps us continue creating free articles, tutorials, reviews, and resources for the amateur radio community. N0TLB © Ham Radio Base - Powered by the Ham CQ DX Community. All rights reserved.

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.