How old was Corey Feldman in Stand by Me?

In the movie Stand by Me, Corey Feldman plays the part of Teddy. How old was he in this movie? Anyone know? I tried to do the math, because he was born in 1971, i came up with him being 14 during this time, but i don't know.

btw- The movie came out in 1986
0