Found this online calculator which makes it easier...

Milling Formula Calculator