wedge-distance-calc
v1.0.0
Published
Golf wedge distance calculator based on swing speed data. Full charts: https://golflaunchlab.com/guides/golf-wedge-distance-chart
Maintainers
Readme
wedge-distance-calc
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-calcJavaScript / Node.js
npm install wedge-distance-calcUsage
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 totalJavaScript
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.
