the answer lies with financial people, not realtors. I would contact a lender (if you plan to try to secure a loan) and see what your credit score is, and if it's not good enough, you can contact a credit repair company, like Blue Water Credit, to help you improve it such that you could qualify to secure a mortgage.
the second piece that the lender can help you with, is in determining how much money you might qualify for, based on your income and outstanding debt. That would give you insight in to the price range that you would be looking at. And if you needed to rent now, I would also use the monthly payment that they are advising you on, to determine a rental payment amount as well, such that you can get your finances in the correct ratios.
In other words, I would try to keep my housing expense about 31% of my gross income, at a max, reduce my personal living expenses under 40% max, and the more 'extra' I have should be used to pay down debt and divert to investments in retirement, college funds, or the like. (I know this is more than you asked but relevant). Good luck!!