You will find the formula at the bottom of this page, but I highly recommend that you read the article. It points out that kenetic energy has absolutely no correlation to penetration of arrows in game.
http://www.tradgang.com/ashby/Momentum%20Kinetic%20Energy%20and%20Arrow%20Penetr ation.htm