If you have to ask then you are, like me, middle class. The working class and the upper class know quite clearly what class they are in and what class others are. In Marxist terminology you would be one of the petit-bourgeoisie, so you do actually fit into his model.
I would recommend reading some Marx, don't worry, you won't turn Communist, just to understand a) where some of these ideas originally come from and b) how what passes for Marxism these days differs and how few self-proclaimed Marxists have ever read it themselves
My understanding of class in Marxism is that there are only two polarities or tendencies in modern society: bourgeoisie and proletariat. The former lives off private profit and the latter lives off selling their basic labor. No one fits cleanly into either, but as history unfolds people's relationships to the economy will tend to develop toward one of those poles.
With stocks, a rental property, and a salaried job in a specialized technical field, you are essentially the modern equivalent of a pre-industrial peasant because you have a certain amount of economic security and guaranteed livelihood. As the rate of profit continues to fall, however, this kind of security will necessarily become inaccessible to the majority of people under the established order, especially on a multi-generational time-scale. This process is called "proletarianization" and the best example of it in our time is the development of the gig economy.