Formula 1's 12th race of season was held in Hungarian capital Budapest at the Hungaroring Circuit -- a 4.3-kilometer (2.6 miles) long track, which comprises of 70 laps.
Hamilton, who started the race in pole position, maintained his lead till the end of the competition, which brought him his fifth championship in the season and 67th of his career.
Ferrari's driver German Sebastian Vettel completed the race as runner-up. Vettel's team-mate Kimi Raikkonen came third.
Increasing his points to 213, Hamilton preserved his championship, while Vettel followed him with 189 points. Raikkonen came after Vettel with 146 points.
The season's 13th race Belgian Grand Prix will be held on Aug. 26 after around a month of break.
Top 10 drivers in Hungary Grand Prix
1. Lewis Hamilton (Mercedes)
2. Sebastian Vettel (Ferrari)
3. Kimi Raikkonen (Ferrari)
4. Daniel Ricciardo (Red Bull-TAG Heuer)
5. Valtteri Bottas (Mercedes)
6. Pierre Gasly (Toro Rosso-Honda)
7. Kevin Magnussen (Haas-Ferrari)
8. Fernando Alonso (McLaren-Renault)
9. Carlos Sainz (Renault)
10. Romain Grosjean (Haas-Ferrari)
Driver Standings
1. Lewis Hamilton (Great Britain): 213 points
2. Sebastian Vettel (Germany): 189
3. Kimi Raikkonen (Finland): 146
4. Valtteri Bottas (Finland): 132
5. Daniel Ricciardo (Australia): 118
Constructor Standings
1. Mercedes: 345 points
2. Ferrari: 335
3. Red Bull: 223
4. Renault: 82
5. Haas: 66
More about: Mercedes Grand-Prix