Roughly fifteen or sixteen, depending on which series you are watching.
Sonic's age has never been nailed down consistently across the franchise. The games have implied a mid-teens hedgehog, and the animated adaptations — Adventures of Sonic the Hedgehog, SatAM, Sonic Underground, Sonic X — each told their own story with their own implied ages rather than following a master timeline.
So the honest answer is "about fifteen or sixteen," and anyone quoting a precise number is quoting a specific continuity rather than a fact.