The core list is this: four presidents were assassinated — Lincoln, Garfield, McKinley, and Kennedy.
Others survived attempts, including Andrew Jackson, Theodore Roosevelt, Franklin Roosevelt, Harry Truman, Gerald Ford (twice), Ronald Reagan, George W. Bush, and Donald Trump (thrice).
Teddy Roosevelt was shot in the chest before a campaign speech. A folded speech manuscript and eyeglass case slowed the bullet. He famously gave the speech anyway before seeking treatment.
Some lists also include plots, mail attacks, White House attacks, or threats where the president was not directly in immediate physical danger. Examples include attempted ricin mailings, aircraft-hijacking plots, and people crashing vehicles near the White House. They are serious, but historians usually separate them from direct assassination attempts like Jackson, Truman, Ford, Reagan, Bush, and Trump.