In the source material, Miles was just one month shy of turning 17 when Gwen Stacy of Earth-65 was 19 years old. So, Gwen is a little over two years older in the books. But a smaller age gap between them arguably works better for Sony's Spider-Verse movies as the two are strongly shipped by fans.