Per IRS Publication 590-A Contributions to Individual Retirement Arrangements (IRAs), page 38:
The contribution limit for Roth IRAs generally depends on whether contributions are made only to Roth IRAs or to both traditional IRAs and Roth IRAs.
Roth IRAs only. If contributions are made only to Roth IRAs, your contribution limit is generally the lesser of:
However, if your modified AGI is above a certain amount, your contribution limit may be reduced, as explained later under Contribution limit reduced.
Roth IRAs and traditional IRAs. If contributions are made to both Roth IRAs and traditional IRAs established for your benefit, your contribution limit for Roth IRAs is generally the same as your limit would be if contributions were made only to Roth IRAs, but then reduced by all contributions for the year to all IRAs other than Roth IRAs. Employer contributions under a SEP or SIMPLE IRA plan don’t affect this limit.
This means that your contribution limit is the lesser of:
However, if your modified AGI is above a certain amount, your contribution limit may be reduced, as explained later under Contribution limit reduced.
Simplified employee pensions (SEPs) and savings incentive match plans for employees (SIMPLE plans) are discussed in Pub. 560.
Note that any link in the information above is updated each year automatically and will take you to the most recent version of the webpage or document at the time it is accessed.