BP reported second-quarter underlying replacement cost profit of $5.73 billion on Tuesday, up 143.6% year-on-year, as higher oil prices and stronger trading performance offset lower upstream production.