A Minimum and Maximum Calculator (also known as a Min Max Calculator, Dataset Extrema Generator, Smallest and Largest Number Finder, or Min-Max Feature Normalization Utility) identifies the absolute minimum value (Min = x(1)), absolute maximum value (Max = x(n)), total range span (Range R = Max - Min), midrange (Midrange = [ Min + Max ] ÷ 2), and Min-Max feature scaling normalized values (xscaled = [ x - Min ] ÷ [ Max - Min ]).
In financial trading (tracking 52-week high/low price channels), data science machine learning (scaling raw feature vectors into standardized [0.0, 1.0] intervals), manufacturing stress testing, and elementary mathematics, **minimum and maximum** represent the lower and upper boundary limits of a numerical dataset.
Our free online Minimum and Maximum Calculator provides instant calculations across all dataset boundary parameters:
- Minimum Formula (Min):
Min = &min;( x1, x2, …, xn )(The smallest numerical element). - Maximum Formula (Max):
Max = &max;( x1, x2, …, xn )(The largest numerical element). - Full Range Formula (R):
Range R = Max - Min(Distance between upper and lower boundaries). - Midrange Formula:
Midrange = ( Min + Max ) ÷ 2(Exact central point between extremes). - Min-Max Feature Scaling Normalization:
xscaled = ( x - Min ) ÷ ( Max - Min )(Rescales data into[0.0, 1.0]). - Percentage Scaling Location:
Location % = xscaled · 100%.
Master Min-Max Reference Table (Publicly Traded Stock Closing Prices: n = 10 Weekly Readings)
The table below displays 10 weekly closing stock prices (in $USD), identified minimum/maximum boundaries, range span, and Min-Max feature scaling normalized positions (n = 10 Weekly Prices: $120, $125, $130, $140, $150, $165, $175, $190, $210, $280):
| Weekly Closing Observation | Raw Stock Price ($USD) | Min-Max Normalization Formula (x – 120) ÷ 160 | Scaled [0.0, 1.0] Feature Value | Financial Boundary Role |
|---|---|---|---|---|
| Week 1 (Absolute Minimum) | $120.00 USD (Min) | (120 – 120) ÷ 160 = 0 ÷ 160 | 0.0000 (0.0%) | 52-Week Low Floor Boundary |
| Week 2 | $125.00 USD | (125 – 120) ÷ 160 = 5 ÷ 160 | 0.03125 (3.13%) | Near 52-Week Low Support |
| Week 3 | $130.00 USD | (130 – 120) ÷ 160 = 10 ÷ 160 | 0.06250 (6.25%) | Lower Channel Price |
| Week 4 | $140.00 USD | (140 – 120) ÷ 160 = 20 ÷ 160 | 0.12500 (12.50%) | Lower Quartile Region |
| Week 5 | $150.00 USD | (150 – 120) ÷ 160 = 30 ÷ 160 | 0.18750 (18.75%) | Consolidation Base |
| Week 6 | $165.00 USD | (165 – 120) ÷ 160 = 45 ÷ 160 | 0.28125 (28.13%) | Mid-Channel Expansion |
| Week 7 | $175.00 USD | (175 – 120) ÷ 160 = 55 ÷ 160 | 0.34375 (34.38%) | Ascending Trend Line |
| Week 8 | $190.00 USD | (190 – 120) ÷ 160 = 70 ÷ 160 | 0.43750 (43.75%) | Approaching Midrange ($200) |
| Week 9 (Current Market Price) | $210.00 USD | (210 – 120) ÷ 160 = 90 ÷ 160 | 0.56250 (56.25%) | Current Price: 56.25% of Range |
| Week 10 (Absolute Maximum) | $280.00 USD (Max) | (280 – 120) ÷ 160 = 160 ÷ 160 | 1.0000 (100.0%) | 52-Week High Peak Boundary |
| CALCULATED BOUNDARY SUMMARY | Range R = $160.00 USD | Midrange = $200.00 USD | Span = [0.000, 1.000] | Complete Trading Channel Bounds |
Step-by-Step Stock Price Min-Max Calculation
To calculate minimum, maximum, range, midrange, and normalized feature scaling for 10 stock closing prices ($120, $125, $130, $140, $150, $165, $175, $190, $210, $280):
Step 1 (Find Minimum Min): Smallest sorted item &implies; Min = $120.00 USD (52-Week Low Floor)
Step 2 (Find Maximum Max): Largest sorted item &implies; Max = $280.00 USD (52-Week High Peak)
Step 3 (Calculate Range R): Range R = $280.00 - $120.00 = $160.00 USD (Total Price Span)
Step 4 (Calculate Midrange): Midrange = ($120.00 + $280.00) ÷ 2 = $400.00 ÷ 2 = $200.00 USD
Step 5 (Normalize Current Price $210.00 into [0.0, 1.0]): x_scaled = ($210.00 - $120.00) ÷ ($280.00 - $120.00) = $90.00 ÷ $160.00 = 0.56250 &implies; 56.25%
Thus, the stock traded within a $160.00 price channel ($120.00 Min to $280.00 Max), with the current price of $210.00 sitting at 56.25% of the total range (xscaled = 0.5625).
Data Normalization Methodologies Comparison: Min-Max vs. Z-Score vs. Robust Scaling
Below is a comparative reference chart detailing when to use Min-Max scaling versus alternative data transformation methods:
| Data Normalization Method | Mathematical Transformation Formula | Bounded Range Output | Primary Practical Application |
|---|---|---|---|
| Min-Max Feature Scaling | xscaled = ( x – Min ) ÷ ( Max – Min ) | EXACT BOUNDED [0.0, 1.0] (or [a, b]) | Neural networks, image pixel intensity (0-255 → 0-1), KNN algorithms. |
| Z-Score Standardization | z = ( x – X̄ ) ÷ s | UNBOUNDED (μ = 0, σ = 1) | Linear regression, PCA dimensionality reduction, normal data. |
| Robust Scaling | xrobust = ( x – Median ) ÷ IQR | UNBOUNDED (Uses Median & IQR) | Datasets containing severe outliers that skew Min/Max. |
History & Mathematics: 1638 Pierre de Fermat to 1951 George Dantzig
1638 Pierre de Fermat & Differential Extrema
In 1638, French mathematician Pierre de Fermat established the Adequality method in calculus, proving that continuous function curves achieve local minimums and maximums (extrema) where the first derivative equals zero (f'(x) = 0).
1951 George Dantzig & Linear Programming Minimax
In 1951, American mathematician George Dantzig developed the Simplex algorithm for linear optimization, establishing Min-Max boundary constraints as the backbone of operations research, algorithmic game theory, and modern machine learning feature scaling.
Popular direct tools:
Frequently Asked Questions (FAQ)
How do you find the minimum and maximum of a dataset?
Sort the numbers in ascending order. The first number is the **Minimum (Min)** and the last number is the **Maximum (Max)**.
What is Min-Max Feature Normalization?
Min-Max normalization rescales data into a [0, 1] range using xscaled = ( x - Min ) ÷ ( Max - Min ). It prevents large numbers from overpowering machine learning algorithms.
What is the difference between Range and Midrange?
Range is the total distance between boundaries (Max - Min). Midrange is the average of the boundaries ([Min + Max] ÷ 2).