A common recommendation for printing is 300 ppi, so approximately 17x10 in.

For a poster or canvas you can often go a little lower, into the 200-250 ppi range without too much difference in quality.

The best path, however, is to ask your printer what they recommend.