• Home
  • Latest
  • Fortune 500
  • Finance
  • Tech
  • Leadership
  • Lifestyle
  • Rankings
  • Multimedia

This is the perfect Tesla Supercharger roadtrip

Robert Hackett
By
Robert Hackett
Robert Hackett
Down Arrow Button Icon
Robert Hackett
By
Robert Hackett
Robert Hackett
Down Arrow Button Icon
June 16, 2015, 12:12 PM ET
A Tesla Motors Inc. Gallery And Service Center As Stock Rebounds
Supercharger stations stand at the Tesla Motors Inc. Gallery and Service Center in Paramus, New Jersey, U.S., on Thursday, Dec. 11, 2014. Bloomberg via Getty Images

If you’re looking to hit every single Tesla Supercharger station in the U.S., this data scientist has you covered.

Mortada Mehyar set out to solve what’s known as the “traveling salesman problem,” a complicated mathematical puzzle that aims to determine the perfect (meaning shortest) path for a person visiting a set of destinations: In this case, Tesla Model S charging stations. Given all the possibilities, the calculation can be algorithmically baffling, even for computers.

For instance, if there are two hundred stations would require checking, according to the programmer, approximately 7.9 x 10^134 permutations. Suffice it to say that that is A LOT of permutations. “That’s actually a lot more than the total number of atoms in the universe!” he writes.

Luckily, there’s a better way to solve the problem. Mehyar uses a program called Concorde that whittles down the possibility space by using algorithm branches, allowing it figure out what is closest to an exact optimum path as possible. “Since we don’t have that many nodes, and the distance metric (symmetric geometric distance) is relatively simple,” the coder said. Exactness is his goal.

At the time of the writing of the post, there were 194 superchargers across the country, he said. After crunching the numbers, he finds the route below to be the best:

Perfect Tesla Supercharger Roadtrip 2015
Courtesy of Mortada Mehyar.
Courtesy of Mortada Mehyar.

Presumably, Mehyar has reverse engineered a logistical problem that Elon Musk is no doubt grappling with at his electric car company. “Stations are strategically placed to minimize stops during long distance travel,” the company’s website says.

Tesla (TSLA) has been expanding rapidly, however, dotting the country with its recharge posts. Already the course plotted by Mehyar is slightly out of date. At the time of writing this post, there were two more supercharger locations in the U.S., bring the total up to 196.

Pack an extra pair of socks.

About the Author
Robert Hackett
By Robert Hackett
Instagram iconLinkedIn iconTwitter icon
See full bioRight Arrow Button Icon

Latest in

Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025

Most Popular

Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Rankings
  • 100 Best Companies
  • Fortune 500
  • Global 500
  • Fortune 500 Europe
  • Most Powerful Women
  • Future 50
  • World’s Most Admired Companies
  • See All Rankings
Sections
  • Finance
  • Leadership
  • Success
  • Tech
  • Asia
  • Europe
  • Environment
  • Fortune Crypto
  • Health
  • Retail
  • Lifestyle
  • Politics
  • Newsletters
  • Magazine
  • Features
  • Commentary
  • Mpw
  • CEO Initiative
  • Conferences
  • Personal Finance
  • Education
Customer Support
  • Frequently Asked Questions
  • Customer Service Portal
  • Privacy Policy
  • Terms Of Use
  • Single Issues For Purchase
  • International Print
Commercial Services
  • Advertising
  • Fortune Brand Studio
  • Fortune Analytics
  • Fortune Conferences
  • Business Development
About Us
  • About Us
  • Editorial Calendar
  • Press Center
  • Work At Fortune
  • Diversity And Inclusion
  • Terms And Conditions
  • Site Map
  • Facebook icon
  • Twitter icon
  • LinkedIn icon
  • Instagram icon
  • Pinterest icon

© 2026 Fortune Media IP Limited. All Rights Reserved. Use of this site constitutes acceptance of our Terms of Use and Privacy Policy | CA Notice at Collection and Privacy Notice | Do Not Sell/Share My Personal Information
FORTUNE is a trademark of Fortune Media IP Limited, registered in the U.S. and other countries. FORTUNE may receive compensation for some links to products and services on this website. Offers may be subject to change without notice.


Most Popular

placeholder alt text
Economy
Elon Musk warns the U.S. is '1,000% going to go bankrupt' unless AI and robotics save the economy from crushing debt
By Jason MaFebruary 7, 2026
1 day ago
placeholder alt text
Success
Even with $850 billion to his name, Elon Musk admits ‘money can’t buy happiness.’ But billionaire Mark Cuban says it’s not so simple
By Preston ForeFebruary 6, 2026
2 days ago
placeholder alt text
Success
Gen Z Patriots quarterback Drake Maye still drives a 2015 pickup truck even after it broke down on the highway—despite his $37 million contract
By Sasha RogelbergFebruary 7, 2026
1 day ago
placeholder alt text
Future of Work
Anthropic cofounder says studying the humanities will be 'more important than ever' and reveals what the AI company looks for when hiring
By Jason MaFebruary 7, 2026
1 day ago
placeholder alt text
AI
AI can make anyone rich: Mark Cuban says it could turn 'just one dude in a basement' into a trillionaire
By Sydney LakeFebruary 7, 2026
1 day ago
placeholder alt text
Energy
Next-gen nuclear's tipping point: Meta and hyperscalers start deals with Bill Gates’ TerraPower, Sam Altman-backed Oklo, and more
By Jordan BlumFebruary 7, 2026
23 hours ago

Latest in

InvestingGold
Bessent sees ‘unruly’ Chinese trading behind gold price swings
By Maria Paula Mijares Torres, Hadriana Lowenkron and BloombergFebruary 8, 2026
1 hour ago
Investinggambling
Gambling stocks sag as prediction markets steal Super Bowl bets
By Peyton Forte, Denitsa Tsekova and BloombergFebruary 8, 2026
1 hour ago
PoliticsJapan
Japanese prime minister’s landslide win gives her party a lower-house supermajority and more room to enact a right-wing agenda
By Mari Yamaguchi, Foster Klug and The Associated PressFebruary 8, 2026
2 hours ago
InvestingVenture Capital
NFL legend Joe Montana lived around top VC execs as a 49er, then leveraged those ties to launch his second career as an investor
By Jason MaFebruary 8, 2026
2 hours ago
bad bunny
Arts & EntertainmentMusic
How Bad Bunny went from Super Bowl supporting act to headliner with ticket sales to rival Taylor Swift
By Jake AngeloFebruary 8, 2026
3 hours ago
CybersecurityJeffrey Epstein
FBI found little evidence Epstein ran a sex trafficking ring for powerful men and concluded a ‘client list’ doesn’t exist
By Michael R. Sisak, David B. Caruso, Larry Neumeister and The Associated PressFebruary 8, 2026
4 hours ago