An outstanding century from Phil Hughes carried Australia to a 32-run win in the fifth and final ODI against Sri Lanka, after the Aussie bowlers prevented the visitors from reaching the 248 required in Hobart.

The win for the hosts allowed them to avoid a series defeat as they had been trailing 2-1, after the fourth match was rained out. The Aussies batted first and made 247 for five, mostly thanks to number three Hughes' efforts, before the Lankans were all out for 215.

Hughes welcomed the second ton of his burgeoning career en route to 138 not out from 154 balls, 13 fours and a solitary six included. David Hussey, meanwhile, afforded the in-form left-hander sound support with a 34-run cameo.

Openers David Warner and Matthew Wade were both out early on, for 10 and 23 respectively, leaving Hughes to do the bulk of the scoring as his partners departed. The rookie, who had made his ODI debut in this series, struck 13 boundaries and a six in his knock.

The visitors would have been confident of chasing down the score, especially given their opening stand of 57, but once Mahela Jayawardene departed, in his final knock as skipper, the batting never really recovered.

Xavier Doherty did much of the damage to the top order, first getting Jayawardene for 38, and then adding Lahiru Thirimanne and Dinesh Chandimal to his tally to leave the Sri Lankans in trouble.

Angelo Mathews, who takes over as captain after this series, was the lone battler, making 67 off 79 balls. He couldn't push on though, sent packing by Mitchell Johnson, and it was a lost cause once he departed with the score on 187 for seven.

Moises Henriques also did well with the ball, taking three middle order wickets, while Clint McKay and Johnson bagged two each.