Here are two questions you might have asked yourself before: are you a good or terrible driver? And is everyone around you really just as good, or are they a lot worse? A new app called EverDrive just launched on Android and iOS, and it lets you measure how safe of a driver you are. It also lets you compete with friends, family and others on leaderboards. For a limited time in Massachusetts and New York, you can even compete for cash.

Our mission is to provide an engaging experience that ultimately results in lower premiums and savings opportunities for consumers.

EverDrive was developed by EverQuote, the Cambridge-based auto insurance marketplace that has 160 employees, and Cambridge Mobile Telematics. The app runs in the background while you’re driving and uses your smartphone’s sensors, including GPS, to automatically measure behaviors like speeding, acceleration, hard turning, harsh braking and phone distractions. At the end of each trip, the app gives you a 1- to 5-star safety rating of your most recent trip and an overall score for your driving from the last two weeks. It will also give you tips on how to become a safer driver.

“Our mission is to provide an engaging experience that ultimately results in lower premiums and savings opportunities for consumers,” Tomas Revesz, CTO of EverQuote, said in a statement.

For a limited time, drivers using the app in Massachusetts and New York can compete to win up to $50,000 in total cash prizes, and that includes a $10,000 grand prize that will be fought over between the top safest driver for each state. In addition, the app is opening up local leaderboards to any town in either state with at least 20 app users, and anyone competing from April 5 to June 25 may be qualified to win one of fifty cash prizes of $100 by random draw.

Ryan Ruffing, an EverQuote spokesman, told BostInno that “at this time, your driving score cannot directly hurt or help your insurance rate.” While he noted that several insurance companies already give discounts to drivers who agree to have their behavior measured, Ruffing said EverQuote is aiming to give drivers the ability to improve their behaviors without the fear of having it impact their insurance rates.

Correction: A previous version of this article incorrectly stated the total prize amount.