Gitanjali Rao was selected from 10 finalists who had spent three months collaborating with scientists to develop their ideas.
Her device uses carbon nanotubes to detect the presence of lead.
Thousands of US water systems are reportedly contaminated by lead.
Gitanjali's invention was inspired by the scandal in Flint, Michigan, where officials are facing charges including manslaughter over water contamination in 2014-15, she told Business Insider.
Until now, testing reliably for lead was expensive and meant sending away samples for analysis.
But Gitanjali's portable invention - named Tethys, after the Greek goddess for fresh water - allows a sensor linked to a mobile app to give an accurate, almost immediate analysis via a mobile app.
"If you take a shower in contaminated water, you do get rashes and that can easily be studied by an epidemiologist," she told Business Insider. "And if somebody drinks lead in their water, their children might have small, minor defects."
Gitanjali said she wanted to further refine the device so it could eventually go on the market.
She said she wanted to be either a geneticist or epidemiologist when she grew up.
Gitanjali won a $25,000 (£19,000) prize for scooping the top award at the 2017 Discovery Education 3M Young Scientist Challenge.
Source and Credit : https://www.bbc.com/news/world-us-canada-41685582