The United defender, 33, is four years younger than Scholes - who came out of retirement earlier this season - and five years younger than Giggs.
Ferdinand said: "They are an inspiration to people like me.
"I'm 33 now and have been at the club 10 years.
"You see someone like Scholesy, who is 37, and Giggsy, who is even older, and you think to yourself that, hopefully, you can get to those levels in terms of both age and playing at the very top.
"But I think your body is the defining factor, telling you whether you can or can't play at that level any more. Fingers crossed, my body holds up and I've another few years left in me."