RMD

What is the formula for determining the RMD for an IRA? Does the first payment have to start on the date of your 73rd birthday (July) or January 1st of the following year?