Simplify Your Workflow: Search MiniWebtool.
Add Extension
Home Page > Math > Geometry Calculators > Rectangle Calculator

Rectangle Calculator

Calculate rectangle area, perimeter, diagonal, inscribed circle, circumscribed circle, and aspect ratio from any two known values. Includes interactive SVG diagram and step-by-step solutions.

Rectangle Calculator

Embed Rectangle Calculator Widget

About Rectangle Calculator

Welcome to the Rectangle Calculator, a comprehensive geometry tool that calculates all properties of a rectangle from any two known values. Whether you know the length and width, the area and one side, the perimeter and one side, or the diagonal and one side, this calculator will find all remaining measurements including area, perimeter, diagonal, inscribed circle radius, circumscribed circle radius, and aspect ratio.

What is a Rectangle?

A rectangle is a quadrilateral (four-sided polygon) with four right angles (90 degrees each). The word comes from the Latin rectus (right) and angulus (angle). Key properties of a rectangle include:

Rectangle Formulas

Area of a Rectangle

The area represents the space enclosed within the rectangle:

Area Formula
$$A = a \times b$$

Where a is the length and b is the width.

Perimeter of a Rectangle

The perimeter is the total distance around the rectangle:

Perimeter Formula
$$P = 2(a + b)$$

Diagonal of a Rectangle

The diagonal connects opposite corners. Using the Pythagorean theorem:

Diagonal Formula
$$d = \sqrt{a^2 + b^2}$$

Inscribed Circle (Largest Circle Inside)

The largest circle that fits inside a rectangle touches the two longer sides:

Inscribed Circle Radius
$$r_{in} = \frac{b}{2}$$

Where b is the shorter side (width).

Circumscribed Circle (Smallest Circle Outside)

The smallest circle that contains the entire rectangle passes through all four corners:

Circumscribed Circle Radius
$$R = \frac{d}{2} = \frac{\sqrt{a^2 + b^2}}{2}$$

How to Use This Calculator

  1. Select calculation mode: Choose what information you know (Length + Width, Area + Side, Perimeter + Side, or Diagonal + Side)
  2. Enter your values: Input the known measurements in the appropriate fields
  3. Optionally add a unit: Specify the unit of measurement for clearer results
  4. Click Calculate: View all rectangle properties, visual diagram, and step-by-step calculations

Understanding the Results

PropertyDescription
Length (a)The longer side of the rectangle
Width (b)The shorter side of the rectangle
Area (A)Space enclosed by the rectangle (in square units)
Perimeter (P)Total distance around the rectangle
Diagonal (d)Distance from one corner to the opposite corner
Inscribed RadiusRadius of the largest circle that fits inside
CircumradiusRadius of the smallest circle containing the rectangle
Aspect RatioRatio of length to width (a:b)

The Golden Rectangle

A golden rectangle is a special rectangle whose sides are in the golden ratio:

Golden Ratio
$$\phi = \frac{1 + \sqrt{5}}{2} \approx 1.618$$

Golden rectangles are considered aesthetically pleasing and appear frequently in art, architecture, and nature. The Parthenon in Athens and Leonardo da Vinci's works feature golden rectangle proportions. This calculator tells you how close your rectangle is to the golden ratio.

Real-World Applications

Frequently Asked Questions

What is a rectangle?

A rectangle is a quadrilateral (four-sided polygon) with four right angles (90 degrees). Opposite sides of a rectangle are equal in length and parallel. The word "rectangle" comes from Latin "rectus" (right) and "angulus" (angle). A square is a special type of rectangle where all four sides are equal.

How do you calculate the area of a rectangle?

The area of a rectangle is calculated by multiplying its length by its width: Area = length x width. For example, a rectangle with length 8 units and width 5 units has an area of 8 x 5 = 40 square units. The area represents the amount of space inside the rectangle.

How do you calculate the diagonal of a rectangle?

The diagonal of a rectangle is calculated using the Pythagorean theorem: Diagonal = sqrt(length^2 + width^2). This works because the diagonal, length, and width form a right triangle. For example, a rectangle with length 8 and width 6 has a diagonal of sqrt(64+36) = sqrt(100) = 10 units.

What is the perimeter of a rectangle?

The perimeter of a rectangle is the total distance around its edges. It is calculated as: Perimeter = 2 x (length + width). For example, a rectangle with length 10 units and width 6 units has a perimeter of 2 x (10 + 6) = 32 units.

What is the golden rectangle?

A golden rectangle is a rectangle whose side lengths are in the golden ratio, approximately 1:1.618 (or more precisely, 1:(1+sqrt(5))/2). Golden rectangles are considered aesthetically pleasing and appear frequently in art, architecture, and nature. When you cut a square from a golden rectangle, the remaining rectangle is also a golden rectangle.

Can you fit a circle inside a rectangle?

Yes, the largest circle that fits inside a rectangle (inscribed circle) has a diameter equal to the shorter side of the rectangle. So the inscribed circle radius = width/2 (where width is the shorter side). This circle will touch the two longer sides but not reach the shorter sides unless the rectangle is a square.

Related Calculators

Additional Resources

Reference this content, page, or tool as:

"Rectangle Calculator" at https://MiniWebtool.com/rectangle-calculator/ from MiniWebtool, https://MiniWebtool.com/

by miniwebtool team. Updated: Jan 30, 2026

You can also try our AI Math Solver GPT to solve your math problems through natural language question and answer.

Related MiniWebtools:

Geometry Calculators:

Top & Updated:

Random Name PickerRandom PickerLine CounterRelative Standard Deviation CalculatorFPS ConverterBatting Average CalculatorSort NumbersMAC Address GeneratorRemove SpacesMAC Address LookupERA CalculatorWord to Phone Number ConverterFeet and Inches to Cm ConverterInstagram User ID LookupSum CalculatorSaturn Return CalculatorFacebook User ID LookupPercent Off CalculatorBitwise CalculatorSHA256 Hash GeneratorLog Base 10 CalculatorRandom Quote GeneratorNumber of Digits CalculatorSquare Root (√) CalculatorFirst n Digits of PiRandom Truth or Dare GeneratorAI ParaphraserOn Base Percentage CalculatorRoman Numerals ConverterSalary Conversion CalculatorSlugging Percentage CalculatorMP3 LooperRandom IMEI GeneratorTwitter/X Timestamp ConverterCm to Feet and Inches ConverterPhone Number ExtractorOutlier CalculatorBinary to Gray Code ConverterDecimal to BCD ConverterVideo to Image ExtractorSun, Moon & Rising Sign Calculator šŸŒžšŸŒ™āœØRandom Group GeneratorAI Punctuation AdderOctal CalculatorYouTube Earnings EstimatorOPS CalculatorSlope and Grade CalculatorBCD to Decimal ConverterCompound Growth CalculatorTime Duration CalculatorNumber to Word ConverterModulo CalculatorRemove AccentOne Rep Max (1RM) CalculatorFraction to Decimal CalculatorCompare Two StringsMerge VideosVertical Jump CalculatorAudio SplitterQuotient and Remainder CalculatorGray Code to Binary ConverterDay of Year CalendarOpen Graph CheckerPER CalculatorRandom Activity GeneratorCM to Inches ConverterRandom Number PickerImage SplitterMercury Retrograde CalendarRandom Superpower GeneratorStandard Error CalculatorIP Address to Hex ConverterInvisible Text GeneratorAI Text HumanizerVideo CompressorNumber ExtractorLove Compatibility CalculatorPercent Growth Rate CalculatorRandom Birthday GeneratorText FormatterWAR CalculatorWHIP CalculatorShort Selling Profit CalculatorGrade CalculatorMaster Number CalculatorRandom Movie PickerDay of the Year Calculator - What Day of the Year Is It Today?Study Timer (Pomodoro)Social Media Username CheckerAdd Prefix and Suffix to TextRandom Meal GeneratorRemove Leading Trailing SpacesRandom Emoji GeneratorRandom Poker Hand GeneratorRandom Fake Address GeneratorFile Size ConverterFirst n Digits of eMAC Address AnalyzerConnect the Dots GeneratorEmail ExtractorURL ExtractorSHA512 Hash GeneratorList of Prime NumbersBinary to BCD ConverterSort Lines AlphabeticallyHex to BCD ConverterBCD to Binary ConverterLottery Number GeneratorBCD to Hex ConverterMedian CalculatorLeap Years ListList RandomizerBreak Line by CharactersAverage CalculatorPVIFA CalculatorReverse VideoHypotenuse CalculatorRemove Audio from VideoActual Cash Value CalculatorScientific Notation to Decimal ConverterAngel Number CalculatorLog Base 2 CalculatorRoot Mean Square CalculatorSum of Positive Integers CalculatorSHA3-256 Hash GeneratorAI Sentence ExpanderšŸ“… Date CalculatorLbs to Kg ConverterHex to Decimal ConverterConvolution CalculatorRandom String GeneratorAmortization CalculatorMarkup CalculatorPVIF CalculatorName Number CalculatorDecimal to Hex ConverterDaily Time Savings CalculatorLorem Ipsum GeneratorReadability Score CalculatorKeyword Density CheckerBionic Reading ConverterText to Speech ReaderFancy Text GeneratorZalgo Text GeneratorUpside Down Text GeneratorASCII Art GeneratorList Difference CalculatorText Column ExtractorText to SQL List ConverterInvisible Character RemoverStock Average CalculatorPosition Size CalculatorMargin Call CalculatorFutoshiki GeneratorHashi (Bridges) Puzzle GeneratorSlitherlink Puzzle GeneratorWord Search Puzzle GeneratorCrossword Puzzle MakerCryptogram GeneratorWord Scramble GeneratorWord Ladder GeneratorBingo Card GeneratorTip CalculatorCurrency Converter401(k) CalculatorRoth IRA CalculatorRetirement CalculatorSocial Security Benefits CalculatorPension CalculatorRMD CalculatorSIP CalculatorMutual Fund CalculatorStock Profit Loss CalculatorDividend Reinvestment CalculatorDollar Cost Averaging CalculatorBusiness Loan CalculatorPersonal Loan CalculatorDebt Payoff CalculatorDebt Consolidation CalculatorNet Worth CalculatorBudget CalculatorSavings Goal CalculatorEmergency Fund CalculatorAPI TesterASCII Table ReferenceWebhook TesterSchema Markup GeneratorRobots.txt GeneratorXML Sitemap GeneratorDomain Age CheckerWHOIS LookupDNS LookupHeadline AnalyzerPage Speed CheckerRedirect CheckerHreflang Tag GeneratorDomain Trust CheckerBroken Link CheckerAI Content DetectorAI Blog Title GeneratorAI Email WriterAI Hashtag GeneratorAI Slogan GeneratorAI Article Outline GeneratorAI Token CounterInstagram Engagement Rate CalculatorTikTok Engagement Rate CalculatorYouTube Thumbnail DownloaderYouTube Tag ExtractorYouTube Comment PickerInstagram Font GeneratorSocial Media Image Size GuideTikTok Money CalculatorYouTube Channel StatisticsTwitter/X Character CounterYouTube Watch Time CalculatorTwitch Earnings CalculatorYouTube Shorts Monetization CalculatorFacebook Ad Cost CalculatorSocial Media ROI CalculatorSocial Media Post Time OptimizerCTR CalculatorROAS CalculatorInfluencer ROI CalculatorForce CalculatorAcceleration CalculatorVelocity CalculatorMomentum CalculatorProjectile Motion CalculatorKinetic Energy CalculatorPotential Energy CalculatorWork and Power CalculatorDensity CalculatorPressure CalculatorIdeal Gas Law CalculatorFree Fall CalculatorTorque CalculatorHorsepower CalculatorDilution CalculatorChemical Equation BalancerStoichiometry CalculatorPercent Yield CalculatorEmpirical Formula CalculatorBoiling Point CalculatorTitration CalculatorMole/Gram/Particle ConverterLED Resistor CalculatorVoltage Divider CalculatorParallel Resistor CalculatorCapacitor Calculator555 Timer CalculatorWire Gauge CalculatorTransformer CalculatorRC Time Constant CalculatorPower Factor CalculatorDecibel (dB) CalculatorImpedance CalculatorResonant Frequency CalculatorFinal Grade CalculatorWeighted Grade CalculatorTest Score CalculatorSignificant Figures CalculatorLong Division CalculatorRounding CalculatorCompleting the Square CalculatorRatio Calculatorp-Value CalculatorNormal Distribution CalculatorPercentile CalculatorFive Number Summary CalculatorCross Multiplication CalculatorLumber CalculatorRebar CalculatorPaver CalculatorInsulation CalculatorHVAC Sizing CalculatorRetaining Wall CalculatorCarpet CalculatorSquare Footage Calculatorā±ļø Countdown Timerā±ļø Online Stopwatchā±ļø Hours CalculatoršŸ• Military Time ConverteršŸ“… Date Difference Calculatorā° Time Card Calculatorā° Online Alarm Clock🌐 Time Zone ConverteršŸŒ¬ļø Wind Chill CalculatoršŸŒ”ļø Heat Index CalculatoršŸ’§ Dew Point CalculatorFuel Cost CalculatorTire Size CalculatoršŸ‘™ Bra Size CalculatoršŸŒ Carbon Footprint Calculator⬛ Aspect Ratio CalculatorOnline NotepadšŸ–±ļø Click CounteršŸ”Š Tone GeneratoršŸ“Š Bar Graph Maker🄧 Pie Chart MakeršŸ“ˆ Line Graph MakeršŸ“· OCR / Image to TextšŸ” Plagiarism Checker🚚 Moving Cost Estimatorā„ļø Snow Day CalculatoršŸŽ® Game Sensitivity Converterāš”ļø DPS CalculatoršŸŽ° Gacha Pity CalculatoršŸŽ² Loot Drop Probability CalculatoršŸŽ® In-Game Currency Converter