Double inherited IRA

Need help calculating my RMD for a double inherited IRA.  Is there a formula or calculator I can use to determine what I should take out. Any help would be appreciated my accountant did not understand when I asked him.