• 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
'I just don't have a good feeling about this': Top economist Claudia Sahm says the economy quietly shifted and everyone's now looking at the wrong alarm
By Eleanor PringleJanuary 31, 2026
20 hours ago
placeholder alt text
Success
Alexis Ohanian walked out of the LSAT 20 minutes in, went to a Waffle House, and decided he was 'gonna invent a career.' He founded Reddit
By Preston ForeJanuary 31, 2026
12 hours ago
placeholder alt text
Success
Ryan Serhant starts work at 4:30 a.m.—he says most people don’t achieve their dreams because ‘what they really want is just to be lazy’
By Preston ForeJanuary 31, 2026
15 hours ago
placeholder alt text
Future of Work
Ford CEO has 5,000 open mechanic jobs with up to 6-figure salaries from the shortage of manually skilled workers: 'We are in trouble in our country'
By Marco Quiroz-GutierrezJanuary 31, 2026
12 hours ago
placeholder alt text
Economy
Right before Trump named Warsh to lead the Fed, Powell seemed to respond to some of his biggest complaints about the central bank
By Jason MaJanuary 30, 2026
1 day ago
placeholder alt text
AI
Top engineers at Anthropic, OpenAI say AI now writes 100% of their code—with big implications for the future of software development jobs
By Beatrice NolanJanuary 29, 2026
2 days ago

Latest in

LawJeffrey Epstein
Epstein files lead to resignation of top Slovakian official, while British prime minister calls on former prince to cooperate with U.S. authorities
By Michael R. Sisak, Danica Kirka, Ben Finley and The Associated PressJanuary 31, 2026
3 hours ago
Startups & VentureOpenAI
Nvidia CEO signals investment in OpenAI round may be largest yet
By Debby Wu and BloombergJanuary 31, 2026
4 hours ago
Economygeopolitics
BRICS could become a new pillar of global governance—if its rapid growth doesn’t erode its newfound clout
By Brian WongJanuary 31, 2026
5 hours ago
LawICE
Judge orders 5-year-old boy and his dad released from ICE detention, citing ‘incompetently-implemented government pursuit of daily deportation quotas’
By Geoff Mulvihill and The Associated PressJanuary 31, 2026
5 hours ago
EconomyFederal Reserve
Fed chair nominee Kevin Warsh could crush Trump’s rate-cut hopes and risk suffering the same level of abuse that Powell got, analysts say
By Jason MaJanuary 31, 2026
5 hours ago
EconomyDebt
Trump thinks a weaker dollar is great, but the U.S. needs a stable currency as national debt heads toward $40 trillion, former Fed president says
By Jason MaJanuary 31, 2026
7 hours ago