There are many factors that can affect the cost of your flight training such as: frequency of training, prior preparation, and weather. Each person is different with regards to how much time and money it takes to obtain their private pilot certificate.
Below is an estimated cost example.
Private Pilot Estimate in a: Cessna 152
Flight Training (Approx. 40 hours) $2000
Ground Training (Approx. 15 hours) $1470
Aircraft Rental (Approx. 40 hours) $3920
Private Pilot Supplies $250
Ground Instruction $840
Examination Fees $500
Estimated Total $8980