The most commonly accepted size for airplane carry-on luggage is 56 x 45 x 25 cm or 22 x 18 x 10 inches. This includes the handle, wheels, and outside pockets. Most airlines also have a maximum weight for carry-on luggage of 7 to 10 kg or 15 to 22 lbs. Also, here is a useful link for reference for airline carry-on baggage allowances: https://wannavola.ml/baggage-allowance/.
It is advisable to measure your luggage before you fly and try to find the most suitable size. Many airlines have strict carry-on size restrictions, so make sure you read the policy of the airline you booking to make sure your carry-on meets the requirements.
In addition, try to look at airline websites to check if they have additional restrictions such as a weight limit in your country or region, as this can also result in your carry-on being too large.
Finally, remember that most airlines will allow you to bring one personal item on board such as a laptop bag or briefcase. So make sure you are adequately prepared for all eventualities when it comes to the size and type of your carry-on luggage.