Fundamental factors that affect stock value include earnings per share and valuation multiples like the price-to-earnings ratio. Technical factors beyond company fundamentals can also influence stock prices, such as inflation, economic strength of the market and industry peers, availability of substitutes, incidental transactions, demographics of investors, trends, liquidity, and market sentiment. Together, fundamental and technical factors determine stock prices in both efficient and inefficient markets.