Washington: Forty-four per cent of Americans believe that former President Barack Obama did "the best job" of any president in their lifetime, according to a new survey.

Obama, who served two terms, is the best or second-best president of their lifetime, Politico quoted the Pew Research Centre survey.

Bill Clinton came in next with 33 per cent, followed by Ronald Reagan with 32 per cent.

Only 19 per cent of those surveyed said President Donald Trump has done the best or second-best job.

That percentage, however, is comparable to Obama's during his first term in 2011, with only 20 per cent viewing him as one of the best presidents.

Obama was the most popular with younger voters.

More than half - 62 per cent - of millennials said Obama had done one of the best jobs as commander in chief.

Interviews with 2,002 adults were conducted from June 5 to 12 by landline or cellphone.