Centroid Calculator

Calculate the centroid (center of mass) of a set of points in 2D space. Enter coordinates and weights to find the weighted average position.

isCalculator Editorial Team Published by:
Reviewed by: Review Board
Last Updated:

Was this calculator helpful?

How to use this tool?

This calculator computes the weighted centroid (center of mass) of a set of points in a 2D plane. Each point can have a weight that influences its contribution.

How to Use
  1. Enter points in the text area. Use the format: x,y;weight (e.g., 0,0;1). Separate multiple points with a space or new line.
  2. Weight is optional – if omitted, it defaults to 1. If provided, it must be a positive number.
  3. Click "Calculate Centroid".
Output
  • Centroid coordinates (X, Y) – the weighted average of all points.
  • Total weight – sum of all weights used in the calculation.

Example input: 0,0;2 4,0;1 2,3;1 → Centroid ≈ (1.5, 0.75)

Previous Results

Generate Charts
Result Inputs Date

Frequently Asked Questions

The centroid is the geometric center of a set of points, calculated as the weighted average of their coordinates.

Enter each point as x,y;weight. Separate multiple points by space or new line. Weight is optional (default 1). Example: 0,0;1 1,1;2 2,2;1

If no weight is specified, each point is assumed to have a weight of 1, giving an unweighted average.

Reviewed by Experts

Eurico José Kiala

Eurico José Kiala

Mathematician

Teacher

LinkedIn
João Lino

João Lino

Mathematician

LinkedIn
Quick Convert
Length Converter
0
Weight/Mass Converter
0
Area Converter
0
Volume Converter
0
Speed Converter
0
Temperature Converter
0
Pressure Converter
0
Energy Converter
0
Power Converter
0
Force Converter
0
Time Converter
0
Angle Converter
0
Fuel Consumption Converter
0
Data Storage Converter
0
Base Numbers Converter
0
Dry Volume Converter
0
Currency Converter
0
Text Case Converter
0