Difference Between Financial Accounting and Managerial Accounting
The main difference between Financial Accounting and Managerial Accounting is that financial accounting reports past performance to external parties, while managerial accounting provides internal data for future decisions. Financial Accounting is the preparation of standardized financial statements for investors and regulators, while Managerial Accounting is the analysis of operational data for planning and control.
Key takeaways
- Core distinction: Financial accounting reports past performance to outsiders; managerial accounting guides internal future decisions.
- How each works: Financial accounting follows GAAP standards strictly; managerial accounting uses flexible, non-standardized internal analysis methods.
- Cost and effort: Financial accounting requires mandatory audits and precise records; managerial accounting demands less compliance but more analytical effort.
- Best-fit use case: Choose financial accounting for investor statements; choose managerial accounting for budgeting, pricing, and operational planning.
- Common decision mistake: Managers wrongly rely on financial accounting data alone, missing forward-looking insights that managerial reports provide.
Table of Contents18 sections
Difference Between Financial Accounting and Managerial Accounting: Comparison Table
| Aspect | Financial Accounting | Managerial Accounting |
|---|---|---|
| Definition | Records and reports historical financial transactions for external parties. | Produces internal reports to guide planning, control, and decision-making. |
| Primary Purpose | Provides standardized financial statements to investors, creditors, and regulators. | Delivers actionable operational data to managers for internal strategy execution. |
| Core Mechanism | Uses double-entry bookkeeping to capture every transaction in a general ledger. | Uses cost behavior analysis and budgeting to model future operational scenarios. |
| Time Orientation | Reports past performance over completed fiscal periods like quarters or years. | Focuses on future forecasts, budgets, and projected outcomes for upcoming periods. |
| Reporting Frequency | Issues statements annually and quarterly on a fixed regulatory schedule. | Produces reports daily, weekly, or monthly on an as-needed management schedule. |
| Regulatory Framework | Follows mandatory GAAP or IFRS standards enforced by securities regulators. | Uses no externally mandated standards; internal policies and needs dictate format. |
| Primary Audience | Serves external stakeholders including shareholders, lenders, and tax authorities. | Serves internal users such as department heads, executives, and operational supervisors. |
| Level of Detail | Summarizes entire company performance into aggregate financial statement totals. | Provides granular breakdowns by product, department, region, or individual project. |
| Monetary Focus | Records only transactions expressible in currency with verifiable documentation. | Includes non-monetary metrics like hours, units, and customer satisfaction scores. |
| Data Precision | Requires exact figures to the penny with strict reconciliation to source documents. | Accepts reasonable estimates and approximations when speed outweighs exactness. |
| Verification Need | Undergoes independent external audits to certify accuracy and compliance. | Relies on internal review by managers without independent third-party verification. |
| Report Format | Uses fixed templates: income statement, balance sheet, and cash flow statement. | Uses flexible formats like dashboards, variance reports, and custom spreadsheets. |
| Legal Requirement | Mandatory for public companies by securities law and tax regulations. | Voluntary and discretionary, created only when management deems it useful. |
| Cost Measurement | Records actual historical costs paid for assets and expenses. | Analyzes variable, fixed, and opportunity costs for pricing and outsourcing choices. |
| Unit of Analysis | Treats the entire organization as one single reporting entity. | Segments data by division, product line, or cost center for targeted insight. |
| Decision Support | Shows overall profitability and solvency but not specific operational causes. | Identifies which products or processes drive profit and which drain resources. |
| Timeliness | Delays reports weeks or months after period-end due to audit and review. | Delivers real-time or next-day data to respond quickly to changing conditions. |
| Accuracy Standard | Demands near-perfect precision because errors affect public trust and markets. | Prioritizes relevance and speed; a close estimate beats a delayed exact figure. |
| Scalability | Scales through standardized systems that handle high transaction volumes uniformly. | Scales by adding custom reports and metrics as organizational complexity grows. |
| Maintenance Cost | Incurs high costs for compliance staff, auditors, and regulatory filing fees. | Requires lower direct costs but needs skilled analysts to build and interpret models. |
| Data Source | Pulls exclusively from completed, documented transactions in the accounting system. | Combines accounting data with operational inputs like production logs and sales forecasts. |
| Confidentiality | Publishes results publicly; competitors and the general public can view them. | Keeps reports strictly internal to protect competitive strategy and pricing data. |
| Period Coverage | Covers fixed, uniform periods like fiscal years for comparability across companies. | Covers flexible periods aligned to project lifecycles or management review cycles. |
| Compatibility | Uses standardized formats that allow direct comparison across different companies. | Uses bespoke formats that cannot be compared externally but fit internal needs. |
| Availability | Provides historical data only after period close; no forward-looking statements. | Provides current and projected data continuously throughout the operating cycle. |
| Typical Users | Used by investors, banks, suppliers, and government agencies assessing creditworthiness. | Used by production managers, marketing heads, and executives setting operational targets. |
| Common Examples | Annual 10-K filings, audited income statements, and shareholder annual reports. | Monthly budget variance reports, break-even analyses, and product profitability studies. |
| Key Limitation | Provides lagging indicators that cannot predict future performance or guide tactics. | Lacks external validation, so internal bias can distort figures and conclusions. |
| Regulatory Penalty | Faces fines, restatements, and legal action for misstatement or noncompliance. | Faces no external penalty, only internal consequences for poor decision-making. |
| Best-Fit Scenario | Best for external reporting, tax filing, and securing loans or investor funding. | Best for pricing decisions, cost cutting, and evaluating new capital investments. |
What Is Financial Accounting?
Financial Accounting is the systematic process of recording, summarizing, and reporting a company's financial transactions to external parties. It produces standardized statements like the balance sheet and income statement. It exists to give investors, creditors, and regulators an accurate, comparable view of a business's financial health.
Definition of Financial Accounting
Financial Accounting is the branch of accounting that records, classifies, and summarizes economic events in accordance with generally accepted accounting principles (GAAP) or IFRS. Its purpose is to prepare periodic financial statements for external decision-makers. These statements reflect the historical performance and current financial position of an entity at a specific point in time.
Key Characteristics of Financial Accounting
| Characteristic | What It Means in Practice |
|---|---|
| Historical focus | Records past transactions only, never future projections or estimated budgets. |
| External audience | Reports to shareholders, banks, tax authorities, and regulators outside the firm. |
| Standardized rules | Must follow GAAP or IFRS frameworks to ensure comparability across companies. |
| Monetary measurement | Records only events that can be expressed in a currency amount. |
| Periodic reporting | Produces statements at fixed intervals, typically quarterly or annually. |
| Aggregate data | Summarizes company-wide results rather than department or product details. |
| Objectivity required | Relies on verifiable source documents like invoices, receipts, and contracts. |
| Legal compliance | Mandatory for public companies under securities and tax regulations. |
| Audit readiness | Prepared so external auditors can independently verify the reported figures. |
| Conservatism principle | Recognizes losses promptly but delays revenue recognition until it is earned. |
Common Examples of Financial Accounting
- Apple Inc. 10-K filing – annual report submitted to the SEC with audited financial statements.
- Walmart balance sheet – quarterly snapshot of assets, liabilities, and shareholder equity.
- Microsoft income statement – summarizes revenue and expenses for a fiscal quarter.
- General Motors cash flow statement – tracks operating, investing, and financing cash movements.
- Amazon shareholder letter – accompanies audited financials in the annual report.
- Bank loan application review – lenders analyze a borrower's financial statements for creditworthiness.
- IRS corporate tax return – Form 1120 reports taxable income based on financial records.
- Procter & Gamble statement of equity – details changes in retained earnings and stock issuance.
- Johnson & Johnson audit report – independent auditor's opinion on statement accuracy.
- Starbucks quarterly earnings press release – summarizes GAAP results for investors and media.
Advantages and Limitations of Financial Accounting
| Advantages | Limitations |
|---|---|
| Provides standardized data that allows investors to compare different companies directly. | Reports only historical costs, which may be far below current market value of assets. |
| Creates accountability by making management's financial decisions visible to shareholders. | Ignores non-financial factors like employee morale, brand reputation, or customer loyalty. |
| Enables external auditors to verify accuracy and detect fraud or misstatement. | Aggregates data company-wide, hiding poor performance in specific product lines. |
| Helps creditors assess repayment risk before extending loans or credit terms. | Follows rigid rules that prevent capturing unique economic realities of a business. |
| Facilitates taxation by providing a clear basis for calculating taxable income. | Delays reporting until after period-end, so data is often months old. |
| Supports regulatory compliance, avoiding fines and legal penalties for public firms. | Encourages short-term focus because managers target quarterly earnings numbers. |
| Provides a common language for mergers, acquisitions, and partnership negotiations. | Allows judgment calls in estimates like depreciation that reduce comparability. |
| Builds investor confidence through transparent, audited financial disclosures. | Fails to capture inflation effects, making profit figures misleading in high-inflation periods. |
| Helps management secure financing by demonstrating financial stability to lenders. | Requires significant time and cost for preparation, auditing, and compliance. |
| Creates a permanent, verifiable record of all business transactions. | Provides no forward-looking guidance for strategic planning or operational decisions. |
What Is Managerial Accounting?
Managerial accounting is the practice of collecting, analyzing, and reporting financial data for internal managers. It exists to support planning, controlling, and decision-making within a company. Unlike external reporting, it is not bound by legal standards and focuses on future-oriented information.
Definition of Managerial Accounting
Managerial accounting is the internal process of identifying, measuring, analyzing, and communicating financial and nonfinancial information to managers. This data guides operational decisions, resource allocation, and performance evaluation. It emphasizes relevance and timeliness over strict adherence to generally accepted accounting principles (GAAP).
Key Characteristics of Managerial Accounting
| Characteristic | What It Means in Practice |
|---|---|
| Future orientation | Focuses on forecasts and budgets rather than historical records of past performance. |
| Internal focus | Reports exclusively for employees and managers, never for external shareholders or regulators. |
| No GAAP mandate | Uses any format or rule that helps managers, unrestricted by standardized accounting principles. |
| Detailed segments | Breaks down data by product, department, or region instead of company-wide totals. |
| Decision support | Provides specific analyses like make-or-buy or pricing to solve immediate business problems. |
| Timeliness priority | Delivers data quickly, even if approximate, rather than waiting for perfect accuracy. |
| Monetary and nonmonetary | Includes metrics like customer satisfaction and production time alongside dollar figures. |
| Relevance over precision | Filters out irrelevant data to give managers only what matters for the current decision. |
| No external audit | Skips independent verification because the audience is internal and trusted. |
| Continuous reporting | Produces daily, weekly, or monthly reports as needed, not just annual statements. |
Common Examples of Managerial Accounting
- Variance analysis – compares actual production costs against standard costs to identify inefficiencies.
- Break-even analysis – calculates the sales volume needed to cover all fixed and variable costs.
- Capital budgeting – evaluates long-term investments using net present value and payback period.
- Budget preparation – creates a detailed financial plan for the upcoming fiscal year.
- Product costing – assigns direct materials, labor, and overhead to each manufactured unit.
- Activity-based costing – allocates overhead based on actual activities that drive costs.
- Make-or-buy analysis – determines whether to manufacture a part internally or purchase it externally.
- Performance scorecards – tracks balanced metrics like quality, delivery speed, and profitability.
- Transfer pricing – sets internal prices for goods exchanged between company divisions.
- Cash flow forecasting – projects future cash inflows and outflows to prevent liquidity shortfalls.
Advantages and Limitations of Managerial Accounting
| Advantages | Limitations |
|---|---|
| Provides tailored reports that directly answer specific operational questions managers face daily. | Relies heavily on estimates and assumptions, which can be significantly wrong in volatile markets. |
| Delivers information quickly so managers can react to problems before they escalate. | Lacks external oversight, allowing biased or overly optimistic internal reporting to go unchecked. |
| Helps identify unprofitable products or customers through granular segment-level analysis. | Ignores certain external factors like competitor actions and regulatory changes that affect outcomes. |
| Supports forward-looking planning with budgets and forecasts that guide strategic direction. | Produces nonstandard reports that cannot be compared across different companies in the same industry. |
| Improves cost control by highlighting variances between planned and actual performance. | Can overwhelm managers with excessive detail that obscures the most critical decision-driving data. |
| Enables data-driven pricing decisions based on accurate cost structures and margin analysis. | Requires significant time and expense to maintain detailed tracking systems for data collection. |
| Facilitates performance evaluation of departments and individual managers using clear metrics. | Focuses on short-term targets that may encourage managers to sacrifice long-term company health. |
| Integrates nonfinancial data like quality and customer loyalty for a fuller operational picture. | Uses historical cost data that quickly becomes outdated in fast-changing business environments. |
| Allows flexible reporting formats that adapt to the unique needs of each management level. | Offers no legal protection or standard framework, making reports vulnerable to manipulation. |
| Supports continuous improvement by tracking operational efficiency and waste reduction efforts. | Cannot replace financial accounting since external stakeholders still require audited GAAP statements. |
Similarities Between Financial Accounting and Managerial Accounting
| Shared Aspect | How Financial Accounting and Managerial Accounting Are Alike |
|---|---|
| Core Purpose | Financial accounting and managerial accounting both track, record, and report an organization's monetary transactions and economic activity. |
| Source Data | Financial accounting and managerial accounting both draw from the same underlying transaction data captured in the general ledger system. |
| Accounting Equation | Financial accounting and managerial accounting both rely on the double-entry system where assets equal liabilities plus equity. |
| Monetary Focus | Financial accounting and managerial accounting both express business performance primarily in monetary terms using the same currency. |
| Entity Boundary | Financial accounting and managerial accounting both operate within the same defined business entity and cover its economic activities. |
| Historical Basis | Financial accounting and managerial accounting both use historical cost data as the foundation for their respective reports. |
| Qualified Personnel | Financial accounting and managerial accounting both require trained accountants who understand GAAP principles and internal controls. |
| Data Accuracy | Financial accounting and managerial accounting both depend on accurate, complete, and reliable input data to produce valid outputs. |
| Periodic Cycle | Financial accounting and managerial accounting both follow a recurring cycle of recording, summarizing, and reporting on a regular schedule. |
| Cost Tracking | Financial accounting and managerial accounting both track costs and expenses to determine profitability and operational efficiency. |
| Revenue Recognition | Financial accounting and managerial accounting both recognize revenue when earned and match expenses to the related revenue period. |
| Internal Controls | Financial accounting and managerial accounting both rely on internal control systems to prevent errors and detect fraud. |
| Audit Trail | Financial accounting and managerial accounting both maintain documentation trails that support every recorded transaction and adjustment. |
| Software Systems | Financial accounting and managerial accounting both use the same enterprise resource planning or accounting software platforms. |
| Inventory Valuation | Financial accounting and managerial accounting both apply consistent inventory costing methods like FIFO or weighted average. |
| Depreciation Methods | Financial accounting and managerial accounting both allocate asset costs over useful lives using straight-line or accelerated methods. |
| Budget Comparison | Financial accounting and managerial accounting both compare actual results against budgets to evaluate performance and identify variances. |
| Ethical Standards | Financial accounting and managerial accounting both follow professional codes of conduct requiring honesty, objectivity, and confidentiality. |
| Decision Support | Financial accounting and managerial accounting both provide financial information that supports business decisions and strategic planning. |
| Cash Flow Insight | Financial accounting and managerial accounting both monitor cash inflows and outflows to assess liquidity and solvency. |
| Performance Metrics | Financial accounting and managerial accounting both use profitability ratios and efficiency measures to gauge business health. |
| Data Verification | Financial accounting and managerial accounting both require reconciliation of accounts and verification of balances periodically. |
| Tax Compliance | Financial accounting and managerial accounting both generate data used to calculate taxable income and file tax returns. |
| Documentation | Financial accounting and managerial accounting both create permanent records of financial activities for future reference. |
| Materiality Principle | Financial accounting and managerial accounting both ignore insignificant details while prioritizing information that affects decisions. |
| Consistency Rule | Financial accounting and managerial accounting both apply the same accounting methods consistently from one period to the next. |
| Error Correction | Financial accounting and managerial accounting both require correcting misstatements and adjusting entries when errors are discovered. |
| Stakeholder Value | Financial accounting and managerial accounting both aim to provide useful information that reduces uncertainty for their respective audiences. |
| Continuous Updates | Financial accounting and managerial accounting both require ongoing updates as transactions occur and new financial data becomes available. |
| Long-Term Records | Financial accounting and managerial accounting both maintain historical records that support trend analysis and future forecasting. |
Financial Accounting or Managerial Accounting: Which Should You Choose?
The single variable that decides it is your audience. External stakeholders (investors, lenders, regulators) require Financial Accounting. Internal decision-makers (managers, executives) require Managerial Accounting. If you report to outsiders, choose Financial; if you plan internally, choose Managerial.
When to Use Financial Accounting
Choose Financial Accounting when you must report to external parties like investors, banks, or tax authorities. Use it for mandatory annual statements, audit compliance, or loan applications. It suits companies of any size that need standardized, historical, and legally required financial reporting.
When to Use Managerial Accounting
Choose Managerial Accounting when you need forward-looking data for internal planning, such as budgeting, pricing, or cost control. Use it for daily operational decisions, product profitability analysis, or performance evaluation. It serves managers who need flexible, detailed reports without external reporting constraints.
Common Misconceptions About Financial Accounting and Managerial Accounting
| Common Myth | The Reality |
|---|---|
| Financial accounting is only for large corporations with shareholders. | Financial accounting applies to any business that produces external reports, including small firms, nonprofits, and government agencies. |
| Managerial accounting is just a simpler version of financial accounting. | Managerial accounting uses different methods like budgeting, variance analysis, and forecasting that financial accounting never touches. |
| Financial accounting reports are always 100% accurate and objective. | Financial accounting relies on estimates and judgment for items like depreciation, bad debts, and inventory valuation. |
| Managerial accounting only deals with costs and never with revenues. | Managerial accounting analyzes revenues, profits, pricing decisions, and investment returns alongside cost data. |
| Financial accounting is backward-looking while managerial accounting is forward-looking only. | Financial accounting records past transactions, but managerial accounting uses both historical data and future projections for planning. |
| Managerial accountants do not need to follow any rules or standards. | Managerial accounting has no GAAP mandate, but companies still apply consistent internal standards for reliable decision-making. |
| Financial accounting and managerial accounting produce the exact same numbers. | Financial accounting and managerial accounting often use different costing methods, so reported profits can differ for the same period. |
| Only accountants with a CPA license can work in managerial accounting. | Managerial accounting roles typically require a CMA or MBA, and many positions do not require any CPA certification. |
| Financial accounting reports are useful for internal managers making daily decisions. | Financial accounting reports are too aggregated and delayed for daily operational decisions, which is why managerial accounting exists. |
| Managerial accounting is not regulated, so it is completely unprofessional. | Managerial accounting follows the IMA Statement of Ethical Professional Practice and rigorous internal governance standards. |
| Financial accounting only covers the income statement and balance sheet. | Financial accounting also produces the cash flow statement, statement of equity, and extensive footnote disclosures. |
| Managerial accounting is only used by manufacturing companies with factories. | Managerial accounting applies to service firms, retailers, tech companies, and healthcare organizations for pricing and efficiency. |
| Financial accounting reports are prepared monthly for internal managers. | Financial accounting follows an annual cycle with quarterly reports, while managerial accounting often produces daily or weekly reports. |
| Managerial accounting ignores external stakeholders like investors and creditors. | Managerial accounting focuses internally, but some outputs like cost reports support external audits and regulatory filings. |
| Financial accounting is harder than managerial accounting because of complex rules. | Managerial accounting is equally challenging, requiring advanced math, statistics, and behavioral judgment beyond GAAP compliance. |
| Managerial accounting does not need to be audited or verified by anyone. | Managerial accounting data is often internally audited to ensure accuracy for strategic decisions and performance bonuses. |
| Financial accounting is only about recording transactions, not analyzing them. | Financial accounting includes ratio analysis, trend evaluation, and interpretation that goes far beyond basic bookkeeping entries. |
| Managerial accounting is the same as cost accounting with no other functions. | Managerial accounting covers capital budgeting, performance evaluation, transfer pricing, and strategic planning beyond cost accounting. |
| Financial accounting reports must be prepared daily to track cash flow. | Financial accounting reports are periodic and external, while cash flow tracking is a managerial accounting function done frequently. |
| Managerial accounting is only for senior executives, not for lower-level staff. | Managerial accounting informs decisions at every level, including department heads, project managers, and production supervisors. |
| Financial accounting is optional for private companies that do not seek loans. | Financial accounting is still required for tax filings, investor relations, and creditor agreements even for private firms. |
| Managerial accounting always uses actual costs rather than estimated costs. | Managerial accounting frequently uses standard costs, predetermined overhead rates, and estimated future costs for planning. |
| Financial accounting is purely objective with no room for managerial judgment. | Financial accounting requires judgment in revenue recognition, lease classification, and asset impairment decisions. |
| Managerial accounting does not produce any formal financial statements. | Managerial accounting produces internal statements like contribution margin reports, segment reports, and budgeted financials. |
| Financial accounting is only relevant for tax purposes and nothing else. | Financial accounting serves investors, lenders, regulators, and analysts, with tax accounting being a separate specialized field. |
| Managerial accounting is too expensive and only worth it for big businesses. | Managerial accounting tools like simple budgets and break-even analysis deliver high value even for small startups. |
| Financial accounting and managerial accounting are taught as completely separate subjects. | Financial accounting and managerial accounting share foundational concepts like debits, credits, and the accounting equation. |
| Managerial accounting focuses only on the past to evaluate what already happened. | Managerial accounting emphasizes future-oriented planning, including forecasts, budgets, and what-if scenario analysis. |
| Financial accounting is not useful for non-accounting professionals like marketers. | Financial accounting helps marketers understand profitability, product margins, and the financial impact of campaigns. |
| Managerial accounting replaces financial accounting once a company grows large. | Managerial accounting supplements financial accounting, and mature companies run both systems simultaneously for different audiences. |
Conclusion
Difference Between Financial Accounting and Managerial Accounting comes down to audience and time. Financial accounting reports historical results to outsiders using GAAP. Managerial accounting guides internal decisions with forward-looking data. Choose financial accounting for compliance and external reporting. Choose managerial accounting for planning, budgeting, and operational control.
FAQs on Difference Between Financial Accounting and Managerial Accounting
- What is the main difference between financial accounting and managerial accounting?
- Financial accounting creates external reports for investors and regulators using standardized rules, while managerial accounting produces internal reports for managers to guide planning and daily decisions.
- Which is better to study, financial accounting or managerial accounting?
- Neither is better because financial accounting suits careers in auditing and compliance, whereas managerial accounting fits roles in operations, strategy, and internal business leadership.
- Does financial accounting focus on past performance while managerial accounting focuses on the future?
- Yes, financial accounting records historical transactions for external reporting, while managerial accounting emphasizes forecasts, budgets, and projections to support future business decisions.
- Are financial accounting reports required by law but managerial accounting reports are optional?
- Yes, public companies must produce financial accounting reports under GAAP or IFRS for regulators, but managerial accounting reports are voluntary and customized for internal use only.
- What is the risk of using managerial accounting data for external investors?
- The risk is high because managerial accounting lacks standardized rules and independent audits, so investors cannot reliably compare that data across different companies.
- Can financial accounting and managerial accounting use the same underlying transaction data?
- Yes, both systems draw from the same source documents like invoices and receipts, but they process that data differently to serve external reporting versus internal decision-making.
- What is a common beginner mistake when learning the difference between these two accounting types?
- A common mistake is assuming managerial accounting is less rigorous, when it actually requires deeper analysis of costs, behavior, and segment performance than financial accounting.
- Can financial accounting reports be used interchangeably with managerial accounting reports?
- No, they cannot be used interchangeably because financial reports summarize company-wide historical results for outsiders, while managerial reports provide detailed, forward-looking insights for insiders.
- How does a production manager use managerial accounting in a real-world setting?
- A production manager uses managerial accounting to compare actual material costs against standard costs, identify variances, and adjust processes to improve efficiency and profitability.
- Can I switch from a financial accounting role to a managerial accounting role easily?
- Yes, you can switch with additional training in cost analysis and budgeting, because your existing knowledge of transactions and reporting provides a strong foundation for internal decision support.
- Difference Between Lightroom and Lightroom Classic
- Difference Between Bees and Wasps
- Difference Between Jam and Jelly
- Difference Between Dominant Alleles and Recessive Alleles
- Difference Between Basmati Rice and Jasmine Rice
- Difference Between Internship and Externship
- Difference Between Atorvastatin and Rosuvastatin
- Difference Between Plavix and Eliquis
- Difference Between Tithe and Offering
- Difference Between Charge Card and Credit Card
- Difference Between Windows 10 Home and Pro
- Difference Between Jealousy and Envy
- Difference Between Absolute Location and Relative Location
- Difference Between Dot 3 and Dot 4
- Difference Between Pergola and Gazebo
- Difference Between Llama and Alpaca