We use more than 10 years of the Martian topside ionospheric data measured by the Mars Advanced Radar for Subsurface and Ionosphere Sounding radar sounder on board the Mars Express spacecraft to derive an empirical model of electron densities from the peak altitude up to 325 km. Altogether, 16,044 electron density profiles obtained at spacecraft altitudes lower than 425 km and at solar zenith angles lower than 80° are included in the analysis. Each of the measured electron density profiles is accurately characterized by the peak electron density, peak altitude, and three additional parameters describing the profile shape above the peak: (i) steepness at high altitudes, (ii) main layer thickness, and (iii) transition altitude. The dependence of these parameters on relevant controlling factors (solar zenith angle, solar irradiance, crustal magnetic field magnitude, and Sun‐Mars distance) is evaluated, allowing for a formulation of a simple empirical model. Mars Atmosphere and Volatile EvolutioN Extreme Ultraviolet monitor data are used to show that the solar ionizing flux can be accurately approximated by the F10.7 index when taking into account the solar rotation. Electron densities predicted by the resulting empirical model are compared with electron densities locally evaluated based on the Mars Advanced Radar for Subsurface and Ionosphere Sounding measurements, with the Langmuir Probe and Waves electron density measurements on board the Mars Atmosphere and Volatile EvolutioN spacecraft, and with electron densities obtained by radio occultation measurements. Although the electron densities measured by the Langmuir Probe and Waves instrument are systematically somewhat lower than the model electron densities, consistent with former findings, the model performs reasonably well.