A century from Ross Taylor laid the foundation for the Black Caps' comfortable win in their third and deciding one day cricket match against Bangladesh in Chittagong.
Daniel Vettori's first win of the toss in the series was spoiled when New Zealand lost both openers McCullum and Ryder for only 13 runs. But Taylor and Jacob Oram came together in a third wicket partnership of 125 runs, Tayor scoring 103 and Oram 73.
Bangladesh, chasing 250 runs to win, struggled to 170 for eight from their 50 overs.
Kyle Mills, Jeetan Patel and Jacob Oram each took two wickets as the Black Caps took the series 2-1.
The first of two tests starts in Chittagong on Friday.