Dilepton invariant-mass spectra for heavy-ion collisions at SIS 18 and BEVALAC energies are calculated using a coarse-grained time evolution from the Ultra-relativistic Quantum Molecular Dynamics (UrQMD) model. The coarse-graining of the microscopic simulations enables to calculate thermal dilepton emission rates by application of in-medium spectral functions from equilibrium quantum-field theoretical calculations. The results show that extremely high baryon chemical potentials dominate the evolution of the created hot and dense fireball. Consequently, a significant modification of the ρ spectral shape becomes visible in the dilepton invariant-mass spectrum, resulting in an enhancement in the low-mass region Mee = 200 to 600 MeV/c 2 . This enhancement, mainly caused by baryonic effects on the ρ spectral shape, can fully describe the experimentally observed excess above the hadronic cocktail contributions in Ar+KCl (E lab = 1.76 AGeV) reactions as measured by the HADES collaboration and also gives a good explanation of the older DLS Ca+Ca (E lab = 1.04 AGeV) data. For the larger Au+Au (E lab = 1.23 AGeV) system, we predict an even stronger excess from our calculations. A systematic comparison of the results for different system sizes from C+C to Au+Au shows that the thermal dilepton yield increases stronger (∝ A 4/3 ) than the hadronic background contributions, which scale with A, due to its sensitivity on the time evolution of the reaction. We stress that the findings of the present work are consistent with our previous coarse-graining results for the NA60 measurements at top SPS energy. We argue that it is possible to describe the dilepton results from SIS 18 up to SPS energies by considering the modifications of the ρ spectral function inside a hot and dense medium within the same model.However, this also means that lepton pairs from all stages of the reaction will reach the detector. Especially for a theoretical description this is a big challenge, as it demands a realistic description of the whole space-time evolution of the heavy-ion reaction and taking the various dilepton sources into account.On the experimental side several groups have undertaken the challenging task to measure dilepton spectra in heavy-ion collisions and thereby constrain the theoretical predictions. At SPS energies the NA60 Collaboration was able to measure the ρ in-medium spectral function for the first time, thanks to the high precision of the measurement [11]. The results were in line with previous CERES results [12] and found an excess in the invariant mass range from 0.2 to 0.6 GeV/c 2 . This excess can be explained by a broadening of the ρ meson inside the hot and dense medium with small mass shifts [13][14][15][16]. At RHIC, these investigations were extended to even higher collision energies with basically the same results except for less dominant baryonic effects and a larger fraction of dileptons stemming from the QGP [17,18].Still more challenging is the interpretation of the dilepton measurements, which were performed in the...