Template:5e XP
From D&D Wiki
Usage
This template takes a Challenge Rating (CR) you plug in, and it returns how much Experience (XP) that CR is worth. To use it, type or paste the following:
{{5e XP|10}}
Using the above template at as-is would return "5,900" -- the amount of experience points given by a creature with a Challenge Rating of 10. Replace "10" with another CR number to receive the appropriate experience point total.
Supported Challenge Rating numbers include 0, 1/8, 1/4, 1/2, 0, and every whole number from 1 to 30 inclusive.