US stocks rose on Tuesday after the first batch of key US inflation data showed a slowdown on a year-over-year and monthly basis.

The Dow Jones Industrial Average rose 155 points, or 0.4%. The S&P 500 rose 0.9%, and the Nasdaq Composite advanced 1.5%.

The producer price index, a measure of prices received by domestic producers of goods and services, rose 0.1% on a monthly basis. Economists had been looking for a 0.2% increase, the same as the previous reading.

On an annual basis, the index recorded an increase of 2.2% over July, and in June it recorded 2.7%, while experts expected it to record 2.3%.

Excluding food and energy, the core PPI was flat on a monthly basis, compared to expectations for a 0.2% gain. On a yearly basis, it rose 2.4%, below expectations for a 2.7% gain and below the previous reading of 3%.

The consumer price index, due out on Wednesday, is expected to show a 0.2% increase last month, up from a 0.1% decline the previous month.