By default, the RSI measures the changes in an asset's price over 14 periods (14 days on daily charts, 14 hours on hourly charts, and so on). The formula divides the average gain the price has had over that time by the average loss it has sustained and then plots data on a scale from 0 to 100.