Skip to main content

Golf wedge distance calculator based on swing speed data. Full distance charts at https://golflaunchlab.com/guides/golf-wedge-distance-chart

Project description

wedge-distance-calc

GolfLaunchLab PyPI npm License: MIT

Golf wedge distance calculator based on real-world swing speed data. Estimates carry and total distance for all 5 wedge types (PW, GW, SW, LW, 60-degree) given a clubhead speed. Includes a gapping chart feature for full, 3/4, and 1/2 swing distances.

For full interactive wedge distance charts, club distance guides, and launch monitor reviews, visit GolfLaunchLab.com.


Installation

Python

pip install wedge-distance-calc

JavaScript / Node.js

npm install wedge-distance-calc

Usage

Python

from wedge_distance_calc import estimate_distance, get_all_distances, get_gapping_chart

# Single wedge estimate
result = estimate_distance("PW", 85)
print(result)
# {
#   'wedge': 'PW',
#   'loft': 46,
#   'swing_speed': 85.0,
#   'carry_yards': 117.5,
#   'total_yards': 126.9
# }

# All wedges at a given speed
all_wedges = get_all_distances(85)
for wedge, data in all_wedges.items():
    print(f"{wedge}: {data['carry_yards']} carry / {data['total_yards']} total")

# Full gapping chart (full / 3/4 / 1/2 swings)
chart = get_gapping_chart(85)
for wedge, swings in chart.items():
    for swing_type, data in swings.items():
        print(f"{wedge} {swing_type}: {data['carry_yards']} yards")

Example output for get_all_distances(85):

PW: 117.5 carry / 126.9 total
GW: 107.5 carry / 116.1 total
SW:  95.0 carry / 102.6 total
LW:  81.0 carry /  87.5 total
60:  75.0 carry /  81.0 total

JavaScript

const { estimateDistance, getAllDistances, getGappingChart } = require('wedge-distance-calc');

// Single wedge estimate
const result = estimateDistance('PW', 85);
console.log(result);
// {
//   wedge: 'PW',
//   loft: 46,
//   swingSpeed: 85,
//   carryYards: 117.5,
//   totalYards: 126.9
// }

// All wedges at a given speed
const all = getAllDistances(85);
for (const [wedge, data] of Object.entries(all)) {
  console.log(`${wedge}: ${data.carryYards} carry / ${data.totalYards} total`);
}

// Full gapping chart
const chart = getGappingChart(85);
for (const [wedge, swings] of Object.entries(chart)) {
  for (const [swingType, data] of Object.entries(swings)) {
    console.log(`${wedge} ${swingType}: ${data.carryYards} yards`);
  }
}

Supported Wedges

Wedge Code Loft
Pitching Wedge PW 46°
Gap Wedge GW 50°
Sand Wedge SW 54°
Lob Wedge LW 58°
60-Degree 60 60°

Methodology

Distances are calculated using linear interpolation between established data points at 60 mph and 110 mph clubhead speed. Total distance adds approximately 8% for roll. The gapping chart multiplies swing speed by 85% (3/4 swing) and 65% (1/2 swing) to estimate partial-swing distances.

For a deeper explanation of wedge distances, full club charts, and how launch monitors measure these numbers, see:


Related


License

MIT License — copyright 2026 GolfLaunchLab. See LICENSE for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wedge_distance_calc-1.0.0.tar.gz (9.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wedge_distance_calc-1.0.0-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

Details for the file wedge_distance_calc-1.0.0.tar.gz.

File metadata

  • Download URL: wedge_distance_calc-1.0.0.tar.gz
  • Upload date:
  • Size: 9.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for wedge_distance_calc-1.0.0.tar.gz
Algorithm Hash digest
SHA256 cb72a924b474d8efde245df3978522d91c960acb4a00eefa599e35be586c10b0
MD5 a4cc0fb1d4c82b0d8675bf775269b244
BLAKE2b-256 ace626cc9df2f5ade5dae724c469640cb079ecca171d2eff8b0c625640bbd516

See more details on using hashes here.

File details

Details for the file wedge_distance_calc-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for wedge_distance_calc-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 032c97107c6f646bacb2a971534402ed3d753db78c9bdac4d64fdcb0903dd561
MD5 6682e08b8b636d067a311f07201afc9b
BLAKE2b-256 7a21b59e40da43f3b784f71900218dced581fad9a0e420a2aa6b72b6a1d01a9b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page