The three numbers
MAJOR increases for breaking changes, MINOR for new backwards compatible features and PATCH for backwards compatible fixes.
Pre-release tags such as -beta.1 come before the final release.
Why it helps
Users and tools can tell from the number whether an upgrade is safe.
Calculate the next version
Use the free semver calculator to find it and compare two versions.