3 ways to fight inflation and win the long game

3 Ways To Fight Inflation And Win The Long Game
Getty Images

Family on Supermarket

"); $spagination = flexSlider.find(".spagination"); SPagination.Init($spagination.get( 0 ), { size: slide_obj.count, // pages size page: 1, // selected page step: 3, // pages before and after current cb: function(p){ flexSlider.flexAnimate(p-1, true); } }); } } } function gtx_gallery_slide_before(slide_obj){ var slide=slide_obj.animatingTo; $active_slide=$all_slides.eq(slide) ; slideshow_ad_loaded = false; var current_html = $active_slide.children(".gtx-ad-container").html(); if (current_html) {$active_slide.children(".gtx-ad-container").html(current_html.trim())} gtx_track_slide( slide_obj ); changeURL(parseInt($active_slide.attr("data-attachment_id"))); //THUMBS SYNC - PAGINATED THUMBNAIL NAVIGATION if($thumbs!=="" && navigation == "paginated_thumbs"){ var right_item=$slider.find(".slides li[data-i="+(slide +1 )+"]").attr("data-i-only-pics") if( right_item!= ""){ $thumbs.find("li.gtx-thumb-img").removeClass("flex-active-slide"); $thumbs.find("li.gtx-thumb-img[data-i="+(slide +1 )+"]").addClass("flex-active-slide"); $page=$thumbs.find(".slides>li").has("li[data-i="+(slide +1 )+"]"); $thumbs.flexAnimate($page.index(), true); } } } function gtx_gallery_slide_after(slide_obj){ var slide=slide_obj.animatingTo; $active_slide=$all_slides.eq(slide) ; if($active_slide.hasClass("gtx-ad-slide")==1){ if ($active_slide.find('iframe').length === 1) { $active_slide.find('iframe')[0].remove(); } $slider.delay(100).queue(function(){ $(this).addClass("gtx-gallery-loading").dequeue(); }); $ad_container=$active_slide.children(".gtx-ad-container").first(); if ($($ad_container).html().length li[data-i="+(slide +1 )+"]").attr("data-i-only-pics") if( right_item!= ""){ $thumbs.find("li.gtx-thumb-img").removeClass("flex-active-slide"); $thumbs.find("li.gtx-thumb-img").eq(right_item -1 ).addClass("flex-active-slide"); $thumbs.flexAnimate(right_item-1, true); } } if(typeof(googletag) != "undefined" && googletag !== null && googletag.pubads){ // Refresh ads within view var tmp_now=new Date().getTime(); var last_refresh_diff= tmp_now - last_ad_refresh; if(last_refresh_diff > 1000){ reset_ads_and_refresh(); last_ad_refresh=tmp_now; } } //LAZY LOAD range=5; var $slides_to_hanle=$all_slides.slice(slide, slide + range +1); if(slide - range >= 0){ $slides_to_hanle=$.merge($slides_to_hanle, $all_slides.slice(slide - range, slide )); }else{ $slides_to_hanle=$.merge($slides_to_hanle, $all_slides.slice(0, range )); $slides_to_hanle=$.merge($slides_to_hanle, $all_slides.slice(range * -1 )); } if(slide + range >= $all_slides.size()){ //handle first slides $slides_to_hanle= $.merge($slides_to_hanle, $all_slides.slice(0,range)); } $slides_to_hanle.find(".gtx-image-container[data-background]").each(function () { var src = $(this).attr("data-background"); $(this).css("background-image", "url("+src+")").removeAttr("data-background"); }); adjustNavHeight(); if( typeof SPagination !== "undefined" && flexSlider.find(".spagination").length>0 ){ if(SPagination.page != slide+1){ SPagination.page = slide + 1; SPagination.Start(); } } } function reset_ads_and_refresh(){ if(!advanced_ad_refresh){ // if option is not enabled, refresh all ads googletag.pubads().refresh(); return; } if(!ads_to_refresh){ return; } var newAds = []; var fullAdsToRefresh = []; for(var i = 0; i wTop && slot.tn_positionY 8){ gtx_gallery_thumbs_set_backwards() } } function gtx_gallery_thumbs_after(slide_obj){ if(slide_obj.count > 8){ gtx_gallery_thumbs_set_backwards() } } function gtx_gallery_paginated_thumbs_start(slide_obj){ gtx_gallery_paginated_thumbs_lazy(); if(false && slide_obj.count > 8){ $thumbs.find(".flex-control-nav.flex-control-paging").removeClass("flex-control-paging").addClass("g-pagination"); } if(slide_obj.count > 8){ $thumbs.find(".flex-control-nav.flex-control-paging").hide().after("

"); $pagination = $thumbs.find(".spagination"); SPagination.Init($pagination.get( 0 ), { size: slide_obj.count, // pages size page: 1, // selected page step: 3, // pages before and after current cb: function(p){ $thumbs.flexAnimate(p-1, true); } }); } } function gtx_gallery_paginated_thumbs_before(slide_obj){ var slide=(typeof slide_obj == "object" && slide_obj.animatingTo ? slide_obj.animatingTo : 0); gtx_gallery_paginated_thumbs_lazy(slide_obj); } function gtx_gallery_paginated_thumbs_after(slide_obj){ var slide=(typeof slide_obj == "object" && slide_obj.animatingTo ? slide_obj.animatingTo : 0); //THUMBS SYNC - Go to first slide of this batch if($thumbs!=="" && navigation == "paginated_thumbs"){ var $active_slide=$slider.find(".slides>li.flex-active-slide"); var $active_thumb_page=$thumbs.find(".slides>li.flex-active-slide"); //Check if the current slide is within this thumb batch if(!$active_thumb_page.find("li[data-i="+$active_slide.attr("data-i")+"]").size()){ first_thumb=$active_thumb_page.find("li").first().attr("data-i"); flexSlider.flexAnimate(first_thumb - 1, true); } } if( typeof SPagination !== "undefined" && $thumbs.find(".spagination").length>0 ){ if(SPagination.page != slide+1){ SPagination.page = slide + 1; SPagination.Start(); } } } function gtx_gallery_paginated_thumbs_lazy(slide_obj){ var slide=(typeof slide_obj == "object" && slide_obj.animatingTo ? slide_obj.animatingTo : 0); //LAZY LOAD THUMBS if($all_thumbs!=="" && navigation == "paginated_thumbs"){ range=1; var $slides_to_hanle=$all_thumbs.slice(slide, slide + range + 1); if(slide - range >= 0){ $slides_to_hanle=$.merge($slides_to_hanle, $all_thumbs.slice(slide - range, slide )); }else{ $slides_to_hanle=$.merge($slides_to_hanle, $all_thumbs.slice(0, range )); $slides_to_hanle=$.merge($slides_to_hanle, $all_thumbs.slice(range * -1 )); } if(slide + range >= $all_thumbs.size()){ //handle first slides $slides_to_hanle= $.merge($slides_to_hanle, $all_thumbs.slice(0,range)); } $slides_to_hanle.each(function () { $(this).find("img[lazy-src]").each(function () { var src = $(this).attr("lazy-src"); if(!src) return; $(this).attr("src",src).removeAttr("lazy-src"); $thumbs.find("img[lazy-src=\""+src+"\"]").attr("src",src).removeAttr("lazy-src"); }); }); } } function adjustNavHeight(){ imageHeight = flexSlider.find(".gtx-slide-img.flex-active-slide .gtx-image-container").outerHeight(); if(imageHeight > 0){ flexSlider.find(".flex-prev,.flex-next").css("top",Math.round(imageHeight/2)); } } var nextSlotId = 1; function generateNextSlotName() { var id = nextSlotId++; return "adslot_" + id+"_"+Math.floor( Date.now() / 1000 ); } function addAdInto(selector,options) { try{ gtx_gallery_enable_dfp(); }catch(err) { } var slide=options.slide || -1; var slotName = generateNextSlotName(); var ad_index = 0; // Create a div for the slot var slotDiv = document.createElement('div'); slotDiv.id = slotName; // Id must be the same as slotName $( selector ).append( slotDiv ); try{ ad_index=$( selector ).closest(".gtx-ad-slide").attr("data-i-only-ads"); }catch(err) { } // Define the slot itself, call display() to // register the div and refresh() to fetch ad. googletag.cmd.push(function() { slideshow_ad_loaded = true; adslots[slotName] = googletag.defineSlot('/21745780820/wisc/news/money/3-ways-to-fight-inflation-and-win-the-long-game', [300, 250], slotName) .addService(googletag.pubads()) .setTargeting("placement", "gallery") .setTargeting("slide", slide) .setTargeting("post", '4625155') .setTargeting("category", '["money","shareable-stories"]') .setTargeting("galleryAdIndex", ad_index); googletag.display(slotName); googletag.sizeMapping().addSize( [0,0], [[300,250]]) googletag.pubads().refresh([adslots[slotName]]); }); } gtx_gallery_syncHash = function(path){ pic = ""; re = /pic\/?([0-9]+)\/?$/i; if(!path && window.location.hash && window.location.hash.match(re)) path = window.location.hash; if(!path && window.location.pathname && window.location.pathname.match(re)) path = window.location.pathname; if(path){ matchslide = path.match(re); if(matchslide && matchslide[1]>0){ pic = parseInt(matchslide[1]); } if(!isNaN(pic) && pic > 0){ slide=get_slide_by_attachment_id(pic); if(slide>0){ avoid_next_pageview = true; flexSlider.flexAnimate(slide - 1, true); } } }else{ gtx_track_slide( ) } } function debounce(func, wait, immediate) { var timeout; return function() { var context = this, args = arguments; var later = function() { timeout = null; if (!immediate) func.apply(context, args); }; var callNow = immediate && !timeout; clearTimeout(timeout); timeout = setTimeout(later, wait); if (callNow) func.apply(context, args); }; }; // delay the url state replacement to avoid overload // RAYOS-271 var efficientlyReplaceState = debounce(function(title, path){ window.history.replaceState({}, title, path); }, 1250) function changeURL(pic){ basepath = window.location.pathname.replace(/\/pic\/?([0-9]+)\/?$/i,"/"); if(isNaN(pic)) return; path = basepath + "pic/"+pic+"/"; title = "Pic "+pic; if (typeof(window.history.replaceState) == "function") { efficientlyReplaceState(title, path) } else { window.location.hash = path; } } function get_slide_by_attachment_id(id){ var slide=$slider.find(".slides li[data-attachment_id="+id+"]").attr("data-i"); return parseInt(slide, 10); } function gtx_track_slide( slide_obj ){ if(slide_obj){ var slide = slide_obj.animatingTo; }else{ var slide = 0; } $active_slide=$all_slides.eq(slide) ; if(!avoid_next_pageview){ try{ var loc=location.pathname+"#slide"+(parseInt(slide)+1); ga("send", "pageview", loc); if(ga.getByName("gtxcelTracker")){ ga("gtxcelTracker.send", "pageview", loc); } }catch(err){ } } avoid_next_pageview = false; } //Add a callback on ad render googletag.cmd.push(function() { googletag.pubads().addEventListener('slotRenderEnded', function(event) { var slotName=event.slot.getSlotElementId(); if(typeof adslots[slotName] !=="undefined" && !event.isEmpty){ $slider.clearQueue(); $slider.removeClass("gtx-gallery-loading"); } }); }); jQuery("#gtx-gallery-slider-4625155").flexslider({ animation: "slide", pauseOnHover: true, prevText: "", nextText: "", slideshow: false, controlNav: true, init: gtx_gallery_slide_init, start: gtx_gallery_slide_start, before: gtx_gallery_slide_before, after: gtx_gallery_slide_after }); if(mobile_mode){ $slider.find(".flex-direction-nav").hide(); } });

<p>Family on Supermarket</p>

Getty Images

Family on Supermarket

The investing information provided on this page is for educational purposes only. NerdWallet does not offer advisory or brokerage services, nor does it recommend or advise investors to buy or sell particular stocks, securities or other investments.

Inflation is scary. Groceries, gas, airfare, car purchases, utilities: In so many areas, your buying power is shrinking as prices continue to rise.

Fear can make you want to do something — anything! — to fight back. Thankfully, many of the best moves to counteract inflation align beautifully with time-tested money management practices. Here are three areas where smart strategies become even smarter when prices are rising.

Invest with the long term in mind

Advice about “inflation proofing” your investments often mentions gold, commodities and real estate. If you already have a well-diversified portfolio, though, beware of short-term strategies that could backfire, says Michelle Gessner, a certified financial planner in Houston.

“Your best bet is stocks,” Gessner says. “Investing in equities is one of the best hedges against inflation that there is.”

Gold hasn’t been a reliable inflation hedge since the 1970s, Gessner notes. Commodities — basic goods such as agricultural products, fuel and metals — can be profitable when inflation spikes, but returns over the long run have been disappointing.  For the 20-year period ending April 29, for example, the S&P 500 stock index more than tripled while the Bloomberg Commodity Index was up about 30%.

Real estate has a better track record, both during inflationary periods and for the long haul. But owning property directly can be a hassle, which is why many financial planners recommend mutual funds, exchange-traded funds or real estate investment trusts that invest in office buildings, apartments, hotels, shopping centers and other commercial property.

But even there, people shouldn’t go overboard, Gessner says. She recommends that her clients invest 3% to 4% of their portfolios in real estate.

“Everything in moderation,” Gessner says. “More is not necessarily better.”

Pay down debt the smart way

Inflation can be good for people with fixed-rate debt such as mortgages, car loans or federal student loans. As inflation erodes a dollar’s buying power, borrowers are able to pay back debt with cheaper money than what they borrowed.

Even without inflation, though, financial planners say most people have better uses for their money than prepaying debt with low, fixed rates. Only after you’ve maxed out your retirement savings, built up an emergency fund and paid off all other, higher-rate debt should you consider making extra payments on a mortgage, for example.

“Having a mortgage at 3% is not such a bad thing if you can take that money and do something better with it,” Gessner says.

Consider targeting any credit card or other variable rate debt, since that’s likely getting more expensive as the Federal Reserve raises interest rates to combat inflation. If you can’t pay this debt off quickly, look into fixing the rate. You may be able to use a personal loan to pay off credit cards, for example, if you have good credit. If you’re struggling to pay your debt, a nonprofit credit counselor can help review your budget and discuss options. You can get referrals from the National Foundation for Credit Counseling at www.nfcc.org.

Delay Social Security

One of the best inflation hedges that retirees can have is a maxed-out Social Security benefit, says William Reichenstein, head of research for Social Security Solutions, a claiming strategy website. Social Security benefits are adjusted annually for inflation, so the larger someone’s benefit, the more money they get from each annual cost-of-living adjustment.

The Social Security Administration increased this year’s benefits by 5.9%. The Senior Citizens League, an advocacy group for older Americans, forecasted an 8.6% increase in benefits next year.

People can start Social Security as early as age 62, but their benefits are permanently reduced if they apply before their full retirement age, which is currently 66 to 67. After full retirement age, people who delay their applications get an annual 8% boost in their benefit, known as a delayed retirement credit. Benefits max out at age 70.

Your benefit gets cost-of-living increases whether you’ve started receiving it or not, so you’re not missing out on inflation adjustments when you delay your application, Reichenstein says.

Most people who make it to retirement age will live past the “break even” point where the larger benefit they get from delaying exceeds the smaller checks they pass up in the meantime, Reichenstein says. It’s particularly important for the higher earner in a married couple to delay as long as possible. The larger of a couple’s two benefits is what the survivor will get after the first spouse dies.

Also, delaying Social Security benefits could help middle-income people reduce their overall tax burden and leave them with more after-tax money to spend, Reichenstein adds.

The way Social Security benefits are taxed creates a “tax torpedo” — a sharp rise and then drop in the marginal tax rates many retirees pay on their income. (A marginal tax rate is the amount of additional tax paid for every additional dollar of income.) Delaying Social Security and tapping retirement funds instead can reduce the effects of this torpedo for middle-income people who might otherwise see their marginal tax rates double, Reichenstein says.

“Goods and services are purchased with after-tax dollars, not pretax dollars, so that’s another reason to consider delaying a Social Security benefit,” he says.