How are mastery points earned?
New accounts start at Summoner Level 1. As you play games, you'll gain experience, which in turn will help you gain levels over time. The maximum level you can attain is Summoner Level 30.
Every level you gain gives you a single mastery point, so at level 30 you'll have 30 mastery points.