A certified professional accountant must complete the CPA online course in 18 months or a half years. Depending on the state you choose to apply for, you must have 120 or 150 credits from a NAAC-recognized university, as well as a certain number of hours in accounting and other business-related courses.