Students are being forced to dodge traffic in some of the city’s most dangerous intersections on their way to and from school, an alarming new study shows.

A staggering 84 accidents involving cars striking pedestrians and cyclists occurred within 500 feet of one school, Harvest Collegiate HS in Greenwich Village, in the past five years, according to data crunched by Localize.city, a Web site that compiles public data to offer profiles of neighborhoods.

“I watched a kid get hit by a car right in front of me,” said student Ellian Jimenez, 16.

“He was on a skateboard, and he was OK, but it was still like, whoa,” she said. “You can’t think about it. What else can we do? We live here, we go to school here, we come here every day.”

Another high-school student, Sadie Antrim, 15, said she saw a young cyclist get hit by a car in the area, as well.

“We’re just used to it,’’ she said. “If you go to school in Manhattan, you’ve seen that.”

Two intersections near Harvest Collegiate — on West 14th Street at Sixth and Fifth avenues — rank among the 10 most dangerous in the city, at No. 9 and 10, respectively.

At Manhattan Village Academy HS on West 22nd Street, there were 62 reported collisions involving vehicles hitting pedestrians and cyclists within 500 feet of the school between 2013 and 2017, Localize.city found.

The school is around the corner from the intersection of Sixth Avenue and West 23rd Street, the city’s third-most dangerous.

PS 33 Timothy Dwight in The Bronx saw 67 nearby crashes involving pedestrians and bicyclists.

The school is near the intersection of Jerome Avenue and West Fordham Road, the city’s fifth-most dangerous intersection.

The numbers show some intersections near schools have collision rates four times higher than average.

Designed for smartphones, Localize.city offers real-estate buyers and renters computer-driven insights into neighborhoods in categories including livability, transportation, safety and education.

The startup’s president, Steven Kalifowitz, said the company decided to focus on which schools were surrounded by the most dangerous streets to warn “where parents should be extra careful.”

Marco Conner of the Transportation Alternatives advocacy group said the study shows that “traffic violence is an epidemic in the city” and points to the need for more speed cameras.

“We have known solutions to this, and the state is keeping us from using them,” Conner said.

Speed cameras — which state law limits to 140 across the city — are a contentious issue in Albany. Assembly Speaker Carl Heastie (D-Bronx) recently failed in a bid to raise the number to 290 during negotiations over the state budget.

The city Department of Transportation works to keep kids safe by sending officials to more than 600 schools a year with a traffic-safety curriculum for students from kindergarten to 12th grade, said spokesman Scott Gastel.

“The safety of our schoolchildren and safety around schools are top Vision Zero priorities,” he said, referring to Mayor de Blasio’s initiative to end all traffic deaths and injuries.

Last year “was the safest year on record for traffic fatalities, and this year’s overall fatality numbers fall below that in a year-to-date comparison thus far,” Gastel said.