I'm sure someone will explain ti better with a formula or something. I
know if you play another even player you win 16 points, If you play
someone higher rated and win you get more point. The higher they
are above you the more points you get. Same applies to lower rated.
The lower rated they are to you the less points you get. John
Ps: It's all according to the World Chess Federation.