All the others comments are great…but it’s probably useful to remember… If you have a large wall of powerful Sub Woofers in front of you, and you turn your headphones up all the way, you will be able to tell when the sub wall is turned on. It will shake much more than just your inner ear. We don’t just use our ears for sensing vibration.
Having said this, it is impressive how much we can simulate bass, especially with sealed in-ear earphones. It’s clear there is a difference in that RAW POWER sense of a 20kW wall of low frequency BASS! and an earphone.
relative to the ear canal theyre filling some have huge or multiple drivers inside, some even have planar magnetic drivers at nearly 15mm like the Letshouer S12 or 7Hz Timeless which go even further into the low and high end of the frequency range providing full sub-bass like you get from much larger headphones
others achieve it by having multiple “drivers” or essentially speakers in the shell for different frequency ranges eg like you have on a pair of floor standing speakers this can be a mixture of Balanced Armature (AKA BA generally better for mids/highs) or dynamic (speakers as you know them if you will but tiny ones, like the ones in a pair of floorstanders by design, good at low end)
some also manage to use a single driver to excellent effect too, even BA but theyre not the ideal for bass and sub-bass it depends on the design and quality
Because they are so close to your ear, they don’t need to do it at nearly the same volume as a 15, 12 or even 10” speaker would in a room. (The driver excursion or back and forth movement is much, much smaller)
With an earphone driver so close, the driver moves an almost imperceptible amount so it can cleanly produce sounds without falling apart. Even so, you can hear there is comparatively less bass to be heard compared to over the ear headphones. If that makes sense to you, I’ll elaborate on the magnets and how the kind of magnet influence the sound and efficiency.
Size of the speaker determines volume. The actual bass itself is determined by the frequency, larger speakers can have larger volume. Since the earbuds are right next to your ears, the tiny speakers can deliver low frequency (bass) audio waves through the small volume of air in the ear canal to your eardrums. Just like a large speaker can deliver low frequency audio across a room, or 3 city blocks down the street if you have enough subwoofers with enough power to do so
Latest Answers