2x2 Matrix Transpose Calculator
Enter the four entries of a 2×2 matrix to transpose it.
Result
How it is calculated
The matrix is entered as [[a, b], [c, d]]: a and b are the first row, c and d the second. The transpose swaps rows and columns, giving [[a, c], [b, d]]. The diagonal entries a and d stay in place and only b and c change places. The tool prints the new first row as a, c and the new second row as b, d. All four entries are required and may be negative or have decimals; a missing or non-numeric entry gives no result. No arithmetic is done on the values, so the transpose is exact apart from display. Entries show up to four decimals with trailing zeros removed, but a small non-zero entry gets extra decimals (up to 12) so it never appears as 0. Large whole numbers use thousands separators.
Worked example
Take the matrix with first row 2, −5 and second row 7, 0.5. So a = 2, b = −5, c = 7, d = 0.5. The diagonal entries 2 and 0.5 stay where they are. Swap b and c. The new first row is a, c = 2, 7. The new second row is b, d = −5, 0.5. The tool shows row 1 as 2, 7 and row 2 as -5, 0.5, which is the transpose. Transposing it again gives the original matrix back.
Common mistakes
- Entering the matrix by columns instead of rows. The fields are a, b for the first row and c, d for the second; column-wise entry gives the transpose of what you meant, which is the original matrix.
- Reading the output rows as the columns of the input. The two output lines are the rows of the transposed matrix, so the first output line is a, c, not a, b.
- Expecting the diagonal to change. Only the off-diagonal entries b and c swap; if b equals c, the matrix is symmetric and the output looks the same as the input.
- Entering a fraction like 1/2. The fields take decimals, so type 0.5.
- Using the result for a larger matrix by dropping entries. This tool handles only 2×2; a 3×3 matrix cannot be entered.
About this calculator
The transpose of a matrix, written Aᵀ, is formed by swapping its rows and columns: the entry in row 1, column 2 moves to row 2, column 1, and vice versa, while the diagonal entries (row 1, column 1 and row 2, column 2) stay exactly where they are. For a 2×2 matrix this simply means swapping the two off-diagonal entries.
Transposition is one of the most basic operations in linear algebra, used to convert a row vector into a column vector and back, to test whether a matrix is symmetric (a matrix equals its own transpose, A = Aᵀ), and as a building block in more advanced operations like computing a matrix's inverse or solving least-squares problems. In practical terms it shows up in computer graphics when switching between row-major and column-major conventions for transformation matrices, and in data science when reshaping a small feature matrix.
Was this helpful?
You can pick up to 3 reactions.
Popular calculators
Loan Calculator
Monthly payment, total interest and full amortization schedule.
Percentage Calculator
Percent change, percent of, and ratio calculations.
Discount Calculator
Calculate final price, savings, and discount amount.
BMI Calculator
Body mass index from height and weight (metric or imperial).
Age Calculator
Compute your exact age in years, months and days from a birth date.
Compound Interest Calculator
Calculate the final amount and interest earned with compounding.
All Calculators
- Loan Calculator
- Profit Calculator
- Discount Calculator
- BMI Calculator
- Percentage Calculator
- Ideal Weight Calculator
- Age Calculator
- Pregnancy Due Date Calculator
- Compound Interest Calculator
- BMR Calculator (Basal Metabolic Rate)
- Tip Calculator
- Fuel Cost Calculator
- Date Difference Calculator
- Sleep Cycle Calculator
- Daily Water Intake Calculator
- Simple Interest Calculator
- Heart Rate Zones Calculator
- Running Pace Calculator
- Pet Age Calculator
- Calories Burned Calculator
- Macro Calculator
- TDEE Calculator (Total Daily Energy Expenditure)
- Waist-to-Hip Ratio Calculator
- Honor Roll Calculator
- One Rep Max (1RM) Calculator
- Ovulation Calculator
- Electricity Cost Calculator
- Unit Price Calculator
- Savings Goal Calculator
- Break-Even Point Calculator
- Paint Calculator
- Course Grade Average Calculator
- Business Days Calculator
- Time Duration Calculator
- Fuel Economy Calculator
- Temperature Converter
- Tile Calculator
- Aspect Ratio Calculator
- Roman Numeral Converter
- Goal Weight Timeline Calculator
- Salary Converter (Hourly to Annual)
- Credit Card Validator (Luhn)
- Body Surface Area (BSA) Calculator
- Feels-Like Temperature Calculator
- Ohm’s Law Calculator
- PPI (Pixel Density) Calculator
- Molar Mass Calculator
- Zodiac Sign Calculator (Western + Chinese)
- IBAN Validator
- Shoe Size Converter
- Country Info & Dialing Code Lookup
- Time Zone Difference (World Clock)
- CAGR (Compound Annual Growth Rate) Calculator
- Rule of 72 Calculator
- Blood Alcohol Content (BAC) Calculator
- Lean Body Mass (LBM) Calculator
- Pythagorean Theorem Calculator
- Speed Converter
- Download Time Calculator
- Date Calculator (Add/Subtract)
No calculators found
Comments