There is a miles calculator on the website - here's a link to the UK website version:
http://www.emirates.com/uk/english/S...ing-miles.aspx
The combined trip will cost less than the two individual legs if you can do it that way but be careful you don't lose the first leg if the second becomes available and you try and join them up. Make sure both legs are available at the same time.