Fonterra has apologised for an online Anchor promotion which claimed to estimate whether users were getting enough calcium, but actually told everyone they needed more.
The milk producer said the faulty test, which sparked a complaint to the Advertising Standards Authority, was due to a computer bug.
The Calci+ Bone Health Calculator promised to "help you find out how well you're looking after your bones and what more you can do to protect yourself from risk of osteoporosis and fractures in later life".
But complainant Kathleen Lafferty said she filled out the calculator multiple times with varying details, and found it always gave a "low" result.
"This test is bad science and provides misinformation on the side of fear mongering. It targets vulnerable people."